|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.taglibs.rdc.dm.DialogManagerImpl
public abstract class DialogManagerImpl
Abstract base implementation of the RDC helper tag group.
Field Summary | |
---|---|
protected int |
groupState
|
protected GroupTag |
groupTag
|
protected java.util.Stack |
stack
|
protected java.util.LinkedHashMap |
stateMap
|
Constructor Summary | |
---|---|
DialogManagerImpl()
|
Method Summary | |
---|---|
abstract void |
collect(javax.servlet.jsp.JspContext ctx,
javax.servlet.jsp.tagext.JspFragment bodyFragment)
Collect the required information from the user |
void |
confirm()
Confirm the collected information from the user Deprecated in DialogManager interface (since RDC 1.1) |
void |
finish(javax.servlet.jsp.JspContext ctx)
Finish up this doTag() invocation |
boolean |
initialize(javax.servlet.jsp.JspContext ctx,
javax.servlet.jsp.tagext.JspFragment bodyFragment)
Initialiaze this doTag() invocation |
void |
setGroupTag(GroupTag groupTag)
Set the GroupTag instance whose dialog is to be managed |
protected void |
setPropertyChildren(java.util.Map children,
java.lang.String propertyName,
java.lang.Object value)
Sets property for all children to value |
protected void |
setStateChildren(java.util.Map children,
int state)
Set the state of the children |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Stack stack
protected java.util.LinkedHashMap stateMap
protected GroupTag groupTag
protected int groupState
Constructor Detail |
---|
public DialogManagerImpl()
Method Detail |
---|
public void setGroupTag(GroupTag groupTag)
DialogManager
setGroupTag
in interface DialogManager
groupTag
- the group tag whose dialog is to be managedpublic boolean initialize(javax.servlet.jsp.JspContext ctx, javax.servlet.jsp.tagext.JspFragment bodyFragment) throws javax.servlet.jsp.JspException, java.io.IOException
initialize
in interface DialogManager
ctx
- the JspContextbodyFragment
- The JspFragment indicating the body of this group
javax.servlet.jsp.JspException
java.io.IOException
public abstract void collect(javax.servlet.jsp.JspContext ctx, javax.servlet.jsp.tagext.JspFragment bodyFragment) throws javax.servlet.jsp.JspException, java.io.IOException
collect
in interface DialogManager
ctx
- the JspContextbodyFragment
- The JspFragment indicating the body of this group
javax.servlet.jsp.JspException
java.io.IOException
public void confirm()
confirm
in interface DialogManager
public void finish(javax.servlet.jsp.JspContext ctx) throws javax.servlet.jsp.JspException, java.io.IOException
finish
in interface DialogManager
ctx
- the JspContext
javax.servlet.jsp.JspException
java.io.IOException
protected void setStateChildren(java.util.Map children, int state)
children
- Mapstate
- the new state for the childrenprotected void setPropertyChildren(java.util.Map children, java.lang.String propertyName, java.lang.Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |