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 class
ButterfacesProperties.Glyphicon
Glyphicon class of collapsing, expansion, options, refresh and order properties.static class
ButterfacesProperties.Integration
Integration class of primefaces properties.static class
ButterfacesProperties.Treebox
Treebox 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 boolean
canEqual(Object other)
boolean
equals(Object o)
Boolean
getAjaxDisableRenderRegionsOnRequest()
b:commandLink components comes with ajaxDisableRenderRegionsOnRequest to crossfade render regions while ajax request is running.String
getAjaxProcessingGlyphiconOnRequest()
String
getAjaxProcessingTextOnRequest()
Boolean
getAutoTrimInputFields()
By default all input fields will be trimed after submit.ButterfacesProperties.Glyphicon
getGlyphicon()
ButterfacesProperties.Integration
getIntegration()
String
getMaxLengthText()
When using maxlength parameter counting text will be {0} of {1} characters.String
getNoEntriesText()
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.Boolean
getProvideBootstrap()
As default ButterFaces comes with an actual version of Bootstrap 3.x.Boolean
getProvideJQuery()
As default ButterFaces comes with an actual version of jQuery 2.x.String
getSpinnerText()
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.ButterfacesProperties.Treebox
getTreebox()
Boolean
getUseCompressedResources()
Each components comes up with it's own javascript and css resources.int
hashCode()
void
setAjaxDisableRenderRegionsOnRequest(Boolean ajaxDisableRenderRegionsOnRequest)
b:commandLink components comes with ajaxDisableRenderRegionsOnRequest to crossfade render regions while ajax request is running.void
setAjaxProcessingGlyphiconOnRequest(String ajaxProcessingGlyphiconOnRequest)
void
setAjaxProcessingTextOnRequest(String ajaxProcessingTextOnRequest)
void
setAutoTrimInputFields(Boolean autoTrimInputFields)
By default all input fields will be trimed after submit.void
setMaxLengthText(String maxLengthText)
When using maxlength parameter counting text will be {0} of {1} characters.void
setNoEntriesText(String noEntriesText)
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.void
setProvideBootstrap(Boolean provideBootstrap)
As default ButterFaces comes with an actual version of Bootstrap 3.x.void
setProvideJQuery(Boolean provideJQuery)
As default ButterFaces comes with an actual version of jQuery 2.x.void
setSpinnerText(String spinnerText)
b:tree and b:treeBox are trivial components and can be configured by components attribute or by changeing following parameters.void
setUseCompressedResources(Boolean useCompressedResources)
Each components comes up with it's own javascript and css resources.String
toString()
-
-
-
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)
-
-