Class InternalClassLoaderResourceLoader


  • public class InternalClassLoaderResourceLoader
    extends ResourceLoader
    A resource loader implementation which loads resources from the thread ClassLoader.
    • Field Detail

      • USE_MULTIPLE_JS_FILES_FOR_JSF_UNCOMPRESSED_JS

        @JSFWebConfigParam(since="2.0.1",
                           defaultValue="false",
                           expectedValues="true,false",
                           group="render")
        public static final String USE_MULTIPLE_JS_FILES_FOR_JSF_UNCOMPRESSED_JS
        If this param is true and the project stage is development mode, the source javascript files will be loaded separately instead have all in just one file, to preserve line numbers and make javascript debugging of the default jsf javascript file more simple.
        See Also:
        Constant Field Values
      • MYFACES_JSF_MODE

        @JSFWebConfigParam(since="2.0.10,2.1.4",
                           defaultValue="normal",
                           expectedValues="normal, minimal-modern, minimal",
                           group="render")
        public static final String MYFACES_JSF_MODE
        Define the mode used for faces.js file:
        • normal : contains everything, including i18n (faces-i18n.js)
        • minimal: contains everything, excluding i18n (faces-i18n.js)

        If org.apache.myfaces.USE_MULTIPLE_JS_FILES_FOR_JSF_UNCOMPRESSED_JS param is set to true and project stage is Development, this param is ignored.

        See Also:
        Constant Field Values
    • Constructor Detail

      • InternalClassLoaderResourceLoader

        public InternalClassLoaderResourceLoader​(String prefix)