| nl.hippo.cms.wizard.components.Component
All known Subclasses: nl.hippo.cms.wizard.components.AbstractComponent,
Component | public interface Component extends Configurable,Initializable(Code) | | Base interface for all components in the wizard component model.
author: a.bogaart@hippo.nl |
fillResult | void fillResult(WizardResult result, WebApplicationContext context) throws Exception(Code) | | Fill the wizardResult instance with values that are required to create a new document.
Every component will add it's path and id value by default (unless path value is set to skip).
A Spring webApplicationContext is provided for lookup of external components like the types model.
Parameters: result - Wizard result instance Parameters: context - Spring webAppContext throws: Exception - |
getLabel | String getLabel()(Code) | | Return i18n key for Cforms labels
value of label |
getLabelCatalogue | String getLabelCatalogue()(Code) | | Return i18n catalogue to provide easy extensibility of i18n keys
value of label catalogue |
getPath | String getPath()(Code) | | Return the value that will be used for the path of the new document.
If starts with / it means the value will be used as the current root.
value of path |
getType | String getType()(Code) | | Return component type, used to identify a component in the Cforms model/binding/template templates
value of type |
lowerCasePath | void lowerCasePath()(Code) | | Flag component to lowercase the path value to the WizardResult instance
|
reset | void reset()(Code) | | Reset the component state so that it can be reused.
|
skipPath | void skipPath()(Code) | | Flag component to skip adding it's path value to the WizardResult instance
|
|
|