Expresso 5-6

com.jcorporate.expresso.ext.struts.taglib.html
Class ExComboBoxTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.jcorporate.expresso.ext.struts.taglib.html.ExComboBoxTag
All Implemented Interfaces:
BodyTag, IterationTag, Serializable, Tag

public class ExComboBoxTag
extends BodyTagSupport

Tag for ComboBox

Author:
Yves Henri AMAIZO
See Also:
Serialized Form

Field Summary
protected  String name
           
protected  String property
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, 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
ExComboBoxTag()
          Constructor for ComboBoxTag
 
Method Summary
protected  String cssObject()
           
 int doAfterBody()
          Save any body content of this tag, which will generally be the option(s) representing the values displayed to the user.
 int doEndTag()
          Render the end of this form.
 int doStartTag()
          

Creates the new variable for a ControllerElement and introduces it as a scope object as part of the JavaServer Page.

 String getName()
          Gets the name
 String getProperty()
          Gets the property
 void setName(String name)
          Sets the name
 void setProperty(String property)
          Sets the property
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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
 

Field Detail

name

protected String name

property

protected String property
Constructor Detail

ExComboBoxTag

public ExComboBoxTag()
Constructor for ComboBoxTag

Method Detail

setName

public void setName(String name)
Sets the name

Parameters:
name - The name to set

getName

public String getName()
Gets the name

Returns:
Returns a String

setProperty

public void setProperty(String property)
Sets the property

Parameters:
property - The property to set

getProperty

public String getProperty()
Gets the property

Returns:
Returns a String

doAfterBody

public int doAfterBody()
                throws JspException
Save any body content of this tag, which will generally be the option(s) representing the values displayed to the user.

Returns:
Throws:
JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws JspException
Render the end of this form.

Returns:
Throws:
JspException - if a JSP exception has occurred

doStartTag

public int doStartTag()
               throws JspException

Creates the new variable for a ControllerElement and introduces it as a scope object as part of the JavaServer Page.

Returns:
integer as per jsp tag spec
Throws:
JspException

cssObject

protected String cssObject()
Returns:

Expresso 5-6

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