org.apache.taglibs.rdc.dm
Class RuleBasedDirectedDialog
java.lang.Object
org.apache.taglibs.rdc.dm.DialogManagerImpl
org.apache.taglibs.rdc.dm.RuleBasedDirectedDialog
- All Implemented Interfaces:
- DialogManager
public class RuleBasedDirectedDialog
- extends DialogManagerImpl
A dialog management strategy for the RDC group container which
defines a rule based directed dialog. This dialog management
strategy is:
- Rule-based: Children are executed according to the
navigation rules
- Directed: Only one child is active at any given time
Navigation rules are specified in an XML document whose URI is
the config attribute of the <group> tag.
- Author:
- Rahul Akolkar
Method Summary |
void |
collect(javax.servlet.jsp.JspContext ctx,
javax.servlet.jsp.tagext.JspFragment bodyFragment)
Collect the required information from the user |
boolean |
initialize(javax.servlet.jsp.JspContext ctx,
javax.servlet.jsp.tagext.JspFragment bodyFragment)
Initialiaze this doTag() invocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleBasedDirectedDialog
public RuleBasedDirectedDialog()
initialize
public boolean initialize(javax.servlet.jsp.JspContext ctx,
javax.servlet.jsp.tagext.JspFragment bodyFragment)
throws javax.servlet.jsp.JspException,
java.io.IOException
- Description copied from class:
DialogManagerImpl
- Initialiaze this doTag() invocation
- Specified by:
initialize
in interface DialogManager
- Overrides:
initialize
in class DialogManagerImpl
- Parameters:
ctx
- the JspContextbodyFragment
- The JspFragment indicating the body of this group
- Throws:
javax.servlet.jsp.JspException
java.io.IOException
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:
collect
in interface DialogManager
- Specified by:
collect
in class DialogManagerImpl
- Parameters:
ctx
- the JspContextbodyFragment
- The JspFragment indicating the body of this group
- Throws:
javax.servlet.jsp.JspException
java.io.IOException
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.