Expresso 5-6

com.jcorporate.expresso.ext.struts.taglib.bean
Class ExDefineTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.apache.struts.taglib.bean.DefineTag
              extended bycom.jcorporate.expresso.ext.struts.taglib.bean.ExDefineTag
All Implemented Interfaces:
BodyTag, IterationTag, Serializable, Tag

public class ExDefineTag
extends org.apache.struts.taglib.bean.DefineTag

Define a scripting variable based on the value(s) of the specified bean property.

Author:
Craig R. McClanahan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.taglib.bean.DefineTag
body, id, messages, name, property, scope, toScope, type, value
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
ExDefineTag()
           
 
Method Summary
 int doEndTag()
          Retrieve the required property and expose it as a scripting variable.
 int doStartTag()
          Retrieve the required property and expose it as a scripting variable.
 
Methods inherited from class org.apache.struts.taglib.bean.DefineTag
doAfterBody, getId, getName, getProperty, getScope, getToScope, getType, getValue, release, setId, setName, setProperty, setScope, setToScope, setType, setValue
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

ExDefineTag

public ExDefineTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Retrieve the required property and expose it as a scripting variable.

Returns:
integer as defined in the standard tag library framework.
Throws:
JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws JspException
Retrieve the required property and expose it as a scripting variable.

Throws:
JspException - if a JSP exception has occurred

Expresso 5-6

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