Class ButterfacesProperties
- java.lang.Object
-
- org.joinfaces.autoconfigure.butterfaces.ButterfacesProperties
-
- All Implemented Interfaces:
ServletContextInitParameterProperties
@ConfigurationProperties(prefix="joinfaces.butterfaces") public class ButterfacesProperties extends Object implements ServletContextInitParameterProperties
Configuration properties of ButterFaces. Taken from https://butterfaces.gitbooks.io/butterfaces/content/configuration.html and org.butterfaces.resolver.WebXmlParameters.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classButterfacesProperties.GlyphiconGlyphicon class of collapsing, expansion, options, refresh and order properties.static classButterfacesProperties.IntegrationIntegration class of primefaces properties.static classButterfacesProperties.TreeboxTreebox class of specific tree box properties.
-
Constructor Summary
Constructors Constructor Description ButterfacesProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)BooleangetAjaxDisableRenderRegionsOnRequest()b:commandLink components comes with ajaxDisableRenderRegionsOnRequest to crossfade render regions while ajax request is running.StringgetAjaxProcessingGlyphiconOnRequest()StringgetAjaxProcessingTextOnRequest()BooleangetAutoTrimInputFields()By default all input fields will be trimed after submit.ButterfacesProperties.GlyphicongetGlyphicon()ButterfacesProperties.IntegrationgetIntegration()StringgetMaxLengthText()When using maxlength parameter counting text will be {0} of {1} characters.StringgetNoEntriesText()b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.BooleangetProvideBootstrap()As default ButterFaces comes with an actual version of Bootstrap 3.x.BooleangetProvideJQuery()As default ButterFaces comes with an actual version of jQuery 2.x.StringgetSpinnerText()b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.ButterfacesProperties.TreeboxgetTreebox()BooleangetUseCompressedResources()Each components comes up with it's own javascript and css resources.inthashCode()voidsetAjaxDisableRenderRegionsOnRequest(Boolean ajaxDisableRenderRegionsOnRequest)b:commandLink components comes with ajaxDisableRenderRegionsOnRequest to crossfade render regions while ajax request is running.voidsetAjaxProcessingGlyphiconOnRequest(String ajaxProcessingGlyphiconOnRequest)voidsetAjaxProcessingTextOnRequest(String ajaxProcessingTextOnRequest)voidsetAutoTrimInputFields(Boolean autoTrimInputFields)By default all input fields will be trimed after submit.voidsetMaxLengthText(String maxLengthText)When using maxlength parameter counting text will be {0} of {1} characters.voidsetNoEntriesText(String noEntriesText)b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.voidsetProvideBootstrap(Boolean provideBootstrap)As default ButterFaces comes with an actual version of Bootstrap 3.x.voidsetProvideJQuery(Boolean provideJQuery)As default ButterFaces comes with an actual version of jQuery 2.x.voidsetSpinnerText(String spinnerText)b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.voidsetUseCompressedResources(Boolean useCompressedResources)Each components comes up with it's own javascript and css resources.StringtoString()
-
-
-
Method Detail
-
getAjaxDisableRenderRegionsOnRequest
public 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 String getAjaxProcessingGlyphiconOnRequest()
-
getAjaxProcessingTextOnRequest
public String getAjaxProcessingTextOnRequest()
-
getAutoTrimInputFields
public Boolean getAutoTrimInputFields()
By default all input fields will be trimed after submit.
-
getProvideBootstrap
public 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
-
getGlyphicon
public ButterfacesProperties.Glyphicon getGlyphicon()
-
getTreebox
public ButterfacesProperties.Treebox getTreebox()
-
getProvideJQuery
public 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 String getMaxLengthText()
When using maxlength parameter counting text will be {0} of {1} characters.
-
getNoEntriesText
public String getNoEntriesText()
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.
-
getSpinnerText
public String getSpinnerText()
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.
-
getUseCompressedResources
public 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
-
getIntegration
public ButterfacesProperties.Integration getIntegration()
-
setAjaxDisableRenderRegionsOnRequest
public void setAjaxDisableRenderRegionsOnRequest(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(String ajaxProcessingGlyphiconOnRequest)
-
setAjaxProcessingTextOnRequest
public void setAjaxProcessingTextOnRequest(String ajaxProcessingTextOnRequest)
-
setAutoTrimInputFields
public void setAutoTrimInputFields(Boolean autoTrimInputFields)
By default all input fields will be trimed after submit.
-
setProvideBootstrap
public void setProvideBootstrap(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(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(String maxLengthText)
When using maxlength parameter counting text will be {0} of {1} characters.
-
setNoEntriesText
public void setNoEntriesText(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(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(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
-
canEqual
protected boolean canEqual(Object other)
-
-