Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.jcorporate.expresso.services.taglib
Class ButtonParams  view ButtonParams download ButtonParams.java

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

public class ButtonParams
extends javax.servlet.jsp.tagext.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.6 $ on $Date: 2004/11/17 20:48:21 $

Field Summary
private static org.apache.log4j.Logger log
           
private  java.lang.String value
          JSTL EL expression
 
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.
 java.lang.String getValue()
          Get the JSTL expression for value.
 void setValue(java.lang.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
 

Field Detail

log

private static final org.apache.log4j.Logger log

value

private java.lang.String value
JSTL EL expression

Constructor Detail

ButtonParams

public ButtonParams()
Default constructor

Method Detail

getValue

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


setValue

public void setValue(java.lang.String value)
Sets the value JSTL expression


doEndTag

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