org.apache.taglibs.rdc.core
Class GroupTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.apache.taglibs.rdc.core.GroupTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class GroupTag
extends javax.servlet.jsp.tagext.SimpleTagSupport

This is the implementation of the RDC helper tag group. Group is a container with pluggable DM strategies.

Author:
Rahul Akolkar

Constructor Summary
GroupTag()
           
 
Method Summary
 void doTag()
          Has the state machine for the group Uses a pluggable dialog management strategy
 java.lang.String getConfig()
          Gets the configuration URI of the group
 java.lang.Boolean getConfirm()
          Get the group level confirmation
 java.lang.String getId()
          Gets the ID of the group
 javax.servlet.jsp.JspContext getJspContext()
          Make JspContext visible to the DM strategy
 java.lang.String getStrategy()
          Get the class name that implements the DM strategy
 java.lang.String getSubmit()
          Gets the submit URL where group should submit
 void setConfig(java.lang.String config)
          Sets the configuration URI of the group
 void setConfirm(java.lang.Boolean confirm)
          Set the group level confirmation
 void setId(java.lang.String id)
          Sets the id of the group
 void setStrategy(java.lang.String strategy)
          Set the class name that implements the DM strategy
 void setSubmit(java.lang.String submit)
          Sets the submit URL for the group
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupTag

public GroupTag()
Method Detail

getId

public java.lang.String getId()
Gets the ID of the group

Returns:
ID The group's strategy

setId

public void setId(java.lang.String id)
Sets the id of the group

Parameters:
id - The group's id

getSubmit

public java.lang.String getSubmit()
Gets the submit URL where group should submit

Returns:
submit The group's submit URL

setSubmit

public void setSubmit(java.lang.String submit)
Sets the submit URL for the group

Parameters:
submit - The group's submit URL

getConfig

public java.lang.String getConfig()
Gets the configuration URI of the group

Returns:
config The group's configuration URI

setConfig

public void setConfig(java.lang.String config)
Sets the configuration URI of the group

Parameters:
config - The group's configuration URI

getConfirm

public java.lang.Boolean getConfirm()
Get the group level confirmation

Returns:
confirm

setConfirm

public void setConfirm(java.lang.Boolean confirm)
Set the group level confirmation

Parameters:
confirm - The group confirmation

getStrategy

public java.lang.String getStrategy()
Get the class name that implements the DM strategy

Returns:
strategy the class name

setStrategy

public void setStrategy(java.lang.String strategy)
Set the class name that implements the DM strategy

Parameters:
strategy - the class name

getJspContext

public javax.servlet.jsp.JspContext getJspContext()
Make JspContext visible to the DM strategy

Overrides:
getJspContext in class javax.servlet.jsp.tagext.SimpleTagSupport
Returns:
JspContext

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  java.io.IOException
Has the state machine for the group Uses a pluggable dialog management strategy

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException
java.io.IOException


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