Dynamic And Static Effects In Wetting Of Capillaries And Fibers