public static ResourceBundle load ( String jellyUrl ) { if ( jellyUrl . endsWith ( ".jelly" ) ) // cut the trailing .jelly jellyUrl = jellyUrl . substring ( 0 , jellyUrl . length ( ) - ".jelly" . length ( ) ) ; JellyFacet facet = WebApp . getCurrent ( ) . getFacet ( JellyFacet . class ) ; return facet . resourceBundleFactory . create ( jellyUrl ) ; }
Loads the resource bundle associated with the Jelly script .