org.apache.myfaces.extensions.cdi.jsf.api.config
Class JsfModuleConfig
java.lang.Object
org.apache.myfaces.extensions.cdi.core.api.config.AbstractAttributeAware
org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
- All Implemented Interfaces:
- Serializable, AttributeAware, CodiConfig
@ApplicationScoped
public class JsfModuleConfig
- extends AbstractAttributeAware
- implements CodiConfig
Config for all JSF specific configurations.
- Author:
- Gerhard Petracek
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsfModuleConfig
protected JsfModuleConfig()
isInitialRedirectEnabled
public boolean isInitialRedirectEnabled()
- If the initial redirect is enabled, a redirect will be performed for adding the current window-id to the url.
- Returns:
- true for activating it, false otherwise
isUseViewConfigsAsNavigationCasesEnabled
public boolean isUseViewConfigsAsNavigationCasesEnabled()
- esp useful for JSF 2.0
- Returns:
- true for creating additional navigation-cases based on view configs for
ConfigurableNavigationHandler#getNavigationCases
isInvalidValueAwareMessageInterpolatorEnabled
public boolean isInvalidValueAwareMessageInterpolatorEnabled()
- Allows to use e.g.:
"Validation error: {invalidValue} isn't a valid value."
- Returns:
- true if the InvalidValueAwareMessageInterpolator should be used, false otherwise
isAlwaysKeepMessages
public boolean isAlwaysKeepMessages()
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.