|
|||||||||
| Home >> All >> org >> apache >> taglibs >> rdc >> [ dm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.taglibs.rdc.dm
Class SimpleDirectedDialog

java.lang.Objectorg.apache.taglibs.rdc.dm.DialogManagerImpl
org.apache.taglibs.rdc.dm.SimpleDirectedDialog
- All Implemented Interfaces:
- org.apache.taglibs.rdc.core.DialogManager
- public class SimpleDirectedDialog
- extends DialogManagerImpl
Concrete implementation of the RDC helper tag group using a directed dialog.
| Field Summary |
| Fields inherited from class org.apache.taglibs.rdc.dm.DialogManagerImpl |
groupState, groupTag, stack, stateMap |
| Constructor Summary | |
SimpleDirectedDialog()
|
|
| Method Summary | |
void |
collect(javax.servlet.jsp.JspContext ctx,
javax.servlet.jsp.tagext.JspFragment bodyFragment)
Collect the required information from the user |
private void |
dialogManagerDD(org.apache.taglibs.rdc.core.GroupModel groupModel)
This method does the directive dialog management and sets the state to begin if they are in dormant state |
private int |
getGroupState(org.apache.taglibs.rdc.core.GroupModel groupModel)
Returns the group state based on state of its children One of these states will be returned GRP_SOME_CHILD_RUNNING -> either of the children are in the execution phase, if the children are not done they are in running state GRP_SOME_CHILD_DORMANT -> either of the children are in input state could be say "done->input->input" GRP_ALL_CHILDREN_DONE -> if the child list is empty or if all the children are done say "done->done->done" |
| Methods inherited from class org.apache.taglibs.rdc.dm.DialogManagerImpl |
confirm, finish, initialize, setGroupTag, setPropertyChildren, setStateChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
SimpleDirectedDialog
public SimpleDirectedDialog()
| Method Detail |
collect
public void collect(javax.servlet.jsp.JspContext ctx, javax.servlet.jsp.tagext.JspFragment bodyFragment) throws javax.servlet.jsp.JspException, java.io.IOException
- Collect the required information from the user
- Specified by:
collectin interfaceorg.apache.taglibs.rdc.core.DialogManager- Specified by:
collectin classDialogManagerImpl
dialogManagerDD
private void dialogManagerDD(org.apache.taglibs.rdc.core.GroupModel groupModel)
- This method does the directive dialog management and sets the state
to begin if they are in dormant state
getGroupState
private int getGroupState(org.apache.taglibs.rdc.core.GroupModel groupModel)
- Returns the group state based on state of its children
One of these states will be returned
GRP_SOME_CHILD_RUNNING -> either of the children are in the execution
phase, if the children are not done they are in running state
GRP_SOME_CHILD_DORMANT -> either of the children are in input state
could be say "done->input->input"
GRP_ALL_CHILDREN_DONE -> if the child list is empty or if all the
children are done say "done->done->done"
|
|||||||||
| Home >> All >> org >> apache >> taglibs >> rdc >> [ dm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC