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 bodyFrag)
          Collect input from the user
 void confirm()
          Get user to confirm the input
 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 bodyFrag)
          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 bodyFrag)
                   throws javax.servlet.jsp.JspException,
                          java.io.IOException
Initialization for this invocation of the doTag()

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

collect

void collect(javax.servlet.jsp.JspContext ctx,
             javax.servlet.jsp.tagext.JspFragment bodyFrag)
             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
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 ? 2000-2004 The Apache Software Foundation. All Rights Reserved.