Expresso 5-5-0

com.jcorporate.expresso.services.taglib
Class ButtonParams

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.jcorporate.expresso.services.taglib.ButtonParams
All Implemented Interfaces:
IterationTag, Serializable, Tag

public class ButtonParams
extends TagSupport

Use ButtonParamsTag right after putting a button on a form that maps to a particular Transition. The ButtomParams tag will add a hidden form field that will contain all the appropriate parameters associated with the Transition. The only supported attribute is 'value', there is no default given, since it is critical that it maps to an existing transition.

value parameter should map to a Transition. Example:

 
 

Version:
$Revision: 1.2 $ on $Date: 2003/10/27 19:10:43 $
Author:
Michael Rimov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ButtonParams()
          Default constructor
 
Method Summary
 int doEndTag()
          Does the actual grunt work.
 String getValue()
          Get the JSTL expression for value.
 void setValue(String value)
          Sets the value JSTL expression
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonParams

public ButtonParams()
Default constructor

Method Detail

getValue

public String getValue()
Get the JSTL expression for value.

Returns:
java.lang.String

setValue

public void setValue(String value)
Sets the value JSTL expression

Parameters:
value -

doEndTag

public int doEndTag()
             throws JspException
Does the actual grunt work.

Returns:
EVAL_PAGE
Throws:
JspException

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.