com.jcorporate.expresso.services.controller.configuration
Class ShowContainerTree
java.lang.Object
com.jcorporate.expresso.core.controller.State
com.jcorporate.expresso.services.controller.configuration.ConfigurationBase
com.jcorporate.expresso.services.controller.configuration.ShowContainerTree
- All Implemented Interfaces:
- Cloneable, Serializable
- public class ShowContainerTree
- extends ConfigurationBase
State that shows the container hierarchy in a tree. The tree is rendered
in the javascript tree in the left of the panel.
- Since:
- Expresso 5.1
- Version:
- $Revision: 1.5 $ on $Date: 2004/11/17 20:48:17 $
- Author:
- Michael Rimov
- See Also:
- Serialized Form
| Fields inherited from class com.jcorporate.expresso.services.controller.configuration.ConfigurationBase |
lc |
| Methods inherited from class com.jcorporate.expresso.core.controller.State |
add, addAutoInput, addAutoInput, addAutoInput, addBlock, addError, addInput, addOptionalParameter, addOutput, addParameter, addParameter, addParameter, addRequiredParameter, addTransition, autoValidate, autoValidate, calculateHandlerName, checkMask, checkParamMasks, clearFormCache, clone, equals, getAttribute, getController, getControllerRequest, getControllerResponse, getDataContext, getDBController, getDBName, getDescription, getErrors, getErrorState, getErrorTransition, getFileName, getFormCache, getHandlerName, getInitParameter, getName, getObjectParameter, getOptionalParameters, getOptionalParametersList, getParameter, getParameters, getPatternMatcher, getRequiredParametersList, getResponse, getReturnToSender, getSession, getStateFormClass, getString, getString, getSuccessTransition, getUid, getUser, hashCode, isFileParameter, isParameter, isSecure, perform, saveErrors, setController, setDescription, setErrorState, setErrorTransition, setFormCache, setHandlerName, setMask, setMask, setMaskError, setName, setResponse, setReturnToSender, setSecure, setStateFormClass, setSuccessTransition, toString, transition |
ShowContainerTree
public ShowContainerTree()
run
public void run(ControllerRequest request,
ControllerResponse response)
throws NonHandleableException,
ControllerException
- Description copied from class:
State
- A state may implement a "run" method to actually perform it's
logic by overriding this method.
- Overrides:
run in class State
- Parameters:
request - The controller request object that has been prepared by the framework,
that contains all the parameters needed to execute stateresponse - The controller response object that you use to populate with
inputs, outputs and transitions.
- Throws:
ControllerException - upon error
NonHandleableException - upon fatal error
addShowTransition
protected void addShowTransition(ExpressoComponent component,
Block parent)
throws ControllerException
- Adds the transition to each block given each component to show any
particular component
- Parameters:
component - the ExpressoComponent to create the transition forparent - the block to add the transition to
- Throws:
ControllerException - upon error
addOneContainer
protected void addOneContainer(Block parentBlock,
Containable current)
throws ControllerException
- Add a container and links to the block tree
- Parameters:
parentBlock - the parent block to add the subcomponents tocurrent - the current container
- Throws:
ControllerException - upon error
Please see www.jcorporate.com for information about new Expresso releases.