org.apache.taglibs.rdc.core
Interface DialogManager

All Known Implementing Classes:
DialogManagerImpl, RuleBasedDirectedDialog, SCXMLDialog, SimpleDirectedDialog

public interface DialogManager

The interface for implementing pluggable dialog management strategies for the RDC group helper tag.

Author:
Rahul Akolkar

Method Summary
 void collect(javax.servlet.jsp.JspContext ctx, javax.servlet.jsp.tagext.JspFragment bodyFragment)
          Collect input from the user
 void confirm()
          Deprecated. This behavior will be deprecated from the next minor version (RDC 1.1), and will be removed in the next major version (2.0) of the RDC tag library. A container should not take on the responsibility to confirm for its children, since it does not attempt to decipher the meaning of their public data models, and hence, cannot produce meaningful prompts without significant configuration. Confirmation is best handled by components.
 void finish(javax.servlet.jsp.JspContext ctx)
          Cleanup for this invocation of the doTag()
 boolean initialize(javax.servlet.jsp.JspContext ctx, javax.servlet.jsp.tagext.JspFragment bodyFragment)
          Initialization for this invocation of the doTag()
 void setGroupTag(GroupTag groupTag)
          Set the GroupTag instance whose dialog is to be managed
 

Method Detail

setGroupTag

void setGroupTag(GroupTag groupTag)
Set the GroupTag instance whose dialog is to be managed

Parameters:
groupTag - the group tag whose dialog is to be managed

initialize

boolean initialize(javax.servlet.jsp.JspContext ctx,
                   javax.servlet.jsp.tagext.JspFragment bodyFragment)
                   throws javax.servlet.jsp.JspException,
                          java.io.IOException
Initialization for this invocation of the doTag()

Parameters:
ctx - the JspContext
bodyFragment - The JspFragment indicating the body of this group
Throws:
javax.servlet.jsp.JspException
java.io.IOException

collect

void collect(javax.servlet.jsp.JspContext ctx,
             javax.servlet.jsp.tagext.JspFragment bodyFragment)
             throws javax.servlet.jsp.JspException,
                    java.io.IOException
Collect input from the user

Parameters:
ctx - the JspContext
bodyFragment - The JspFragment indicating the body of this group
Throws:
javax.servlet.jsp.JspException
java.io.IOException

confirm

void confirm()
             throws javax.servlet.jsp.JspException,
                    java.io.IOException
Deprecated. This behavior will be deprecated from the next minor version (RDC 1.1), and will be removed in the next major version (2.0) of the RDC tag library. A container should not take on the responsibility to confirm for its children, since it does not attempt to decipher the meaning of their public data models, and hence, cannot produce meaningful prompts without significant configuration. Confirmation is best handled by components.

Get user to confirm the input

Throws:
javax.servlet.jsp.JspException
java.io.IOException

finish

void finish(javax.servlet.jsp.JspContext ctx)
            throws javax.servlet.jsp.JspException,
                   java.io.IOException
Cleanup for this invocation of the doTag()

Parameters:
ctx - the JspContext
Throws:
javax.servlet.jsp.JspException
java.io.IOException


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.