Class ButterfacesProperties

  • All Implemented Interfaces:
    ServletContextInitParameterProperties

    @ConfigurationProperties(prefix="joinfaces.butterfaces")
    public class ButterfacesProperties
    extends java.lang.Object
    implements ServletContextInitParameterProperties
    Configuration properties of ButterFaces. Taken from https://butterfaces.gitbooks.io/butterfaces/content/configuration.html and org.butterfaces.resolver.WebXmlParameters.java
    • Constructor Detail

      • ButterfacesProperties

        public ButterfacesProperties()
    • Method Detail

      • getAjaxDisableRenderRegionsOnRequest

        public java.lang.Boolean getAjaxDisableRenderRegionsOnRequest()
        b:commandLink components comes with ajaxDisableRenderRegionsOnRequest to crossfade render regions while ajax request is running. To configure this for global usage add following parameter
      • getAjaxProcessingGlyphiconOnRequest

        public java.lang.String getAjaxProcessingGlyphiconOnRequest()
      • getAjaxProcessingTextOnRequest

        public java.lang.String getAjaxProcessingTextOnRequest()
      • getAutoTrimInputFields

        public java.lang.Boolean getAutoTrimInputFields()
        By default all input fields will be trimed after submit.
      • getProvideBootstrap

        public java.lang.Boolean getProvideBootstrap()
        As default ButterFaces comes with an actual version of Bootstrap 3.x. To disable ButterFaces Boostrap version because of using your own version you have to change following parameter
      • getProvideJQuery

        public java.lang.Boolean getProvideJQuery()
        As default ButterFaces comes with an actual version of jQuery 2.x. To disable ButterFaces jQuery version because of using your own version you have to change following parameter
      • getMaxLengthText

        public java.lang.String getMaxLengthText()
        When using maxlength parameter counting text will be {0} of {1} characters.
      • getNoEntriesText

        public java.lang.String getNoEntriesText()
        b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.
      • getSpinnerText

        public java.lang.String getSpinnerText()
        b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.
      • getUseCompressedResources

        public java.lang.Boolean getUseCompressedResources()
        Each components comes up with it's own javascript and css resources. If you want to use ButterFaces resources (i.e. Bootstrap or jQuery) without any ButterFaces component use b:activateLibraries to load all resources to html. This tags add javascript and css resources for all existing components. In addition to that you may activate compression by web.xml This only works if you are using PROJECT_STAGE = Production
      • setAjaxDisableRenderRegionsOnRequest

        public void setAjaxDisableRenderRegionsOnRequest​(java.lang.Boolean ajaxDisableRenderRegionsOnRequest)
        b:commandLink components comes with ajaxDisableRenderRegionsOnRequest to crossfade render regions while ajax request is running. To configure this for global usage add following parameter
      • setAjaxProcessingGlyphiconOnRequest

        public void setAjaxProcessingGlyphiconOnRequest​(java.lang.String ajaxProcessingGlyphiconOnRequest)
      • setAjaxProcessingTextOnRequest

        public void setAjaxProcessingTextOnRequest​(java.lang.String ajaxProcessingTextOnRequest)
      • setAutoTrimInputFields

        public void setAutoTrimInputFields​(java.lang.Boolean autoTrimInputFields)
        By default all input fields will be trimed after submit.
      • setProvideBootstrap

        public void setProvideBootstrap​(java.lang.Boolean provideBootstrap)
        As default ButterFaces comes with an actual version of Bootstrap 3.x. To disable ButterFaces Boostrap version because of using your own version you have to change following parameter
      • setProvideJQuery

        public void setProvideJQuery​(java.lang.Boolean provideJQuery)
        As default ButterFaces comes with an actual version of jQuery 2.x. To disable ButterFaces jQuery version because of using your own version you have to change following parameter
      • setMaxLengthText

        public void setMaxLengthText​(java.lang.String maxLengthText)
        When using maxlength parameter counting text will be {0} of {1} characters.
      • setNoEntriesText

        public void setNoEntriesText​(java.lang.String noEntriesText)
        b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.
      • setSpinnerText

        public void setSpinnerText​(java.lang.String spinnerText)
        b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.
      • setUseCompressedResources

        public void setUseCompressedResources​(java.lang.Boolean useCompressedResources)
        Each components comes up with it's own javascript and css resources. If you want to use ButterFaces resources (i.e. Bootstrap or jQuery) without any ButterFaces component use b:activateLibraries to load all resources to html. This tags add javascript and css resources for all existing components. In addition to that you may activate compression by web.xml This only works if you are using PROJECT_STAGE = Production
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object