| java.lang.Object org.sakaiproject.tool.section.jsf.backingbean.InitializableBean
All known Subclasses: org.sakaiproject.tool.section.jsf.backingbean.CourseDependentBean,
InitializableBean | abstract public class InitializableBean implements PhaseAware(Code) | | Base class for JSF backing beans wishing to be initialized on page load.
author: Josh Holtzman |
Method Summary | |
public void | endProcessUpdates() | public void | endProcessValidators() Remember if JSF entered the Validations phase. | protected void | init() JSF doesn't provide a way to configure an initialization method which will
be called after the contructor and all framework setters. | public boolean | isNotValidated() | public void | setConfigured(boolean isConfigured) Signals that configuration is finished. | public void | setNotValidated(boolean notValidated) | public void | startRenderResponse() Call init() at the beginning of every request rendering. |
endProcessUpdates | public void endProcessUpdates()(Code) | | |
endProcessValidators | public void endProcessValidators()(Code) | | Remember if JSF entered the Validations phase. If so, and if we never
reach the Update Model Values phase, then validation failed. That may
be of interest to the backing bean. For example, the backing bean
may choose not to requery and reload data on a validation error.
|
init | protected void init()(Code) | | JSF doesn't provide a way to configure an initialization method which will
be called after the contructor and all framework setters. By convention,
our backing beans use this method. It's triggered either by a Faces configuration
file setting "configured" to true, or by a JSF component directly calling "startRenderResponse".
For greater subclassing flexibility, the init method is not declared to be
abstract.
|
isNotValidated | public boolean isNotValidated()(Code) | | |
setConfigured | public void setConfigured(boolean isConfigured)(Code) | | Signals that configuration is finished.
|
setNotValidated | public void setNotValidated(boolean notValidated)(Code) | | |
startRenderResponse | public void startRenderResponse()(Code) | | Call init() at the beginning of every request rendering.
(This should also work to refresh session-scoped beans, but it's
only been tested with request scope.)
|
|
|