|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport org.apache.struts.taglib.html.OptionsTag org.apache.strutsel.taglib.html.ELOptionsTag
public class ELOptionsTag
Tag for creating multiple <select> options from a collection. The associated values displayed to the user may optionally be specified by a second collection, or will be the same as the values themselves. Each collection may be an array of objects, a Collection, an Enumeration, an Iterator, or a Map. NOTE - This tag requires a Java2 (JDK 1.2 or later) platform.
This class is a subclass of the class
org.apache.struts.taglib.html.OptionsTag
which provides most
of the described functionality. This subclass allows all attribute values
to be specified as expressions utilizing the JavaServer Pages Standard
Library expression language.
Field Summary |
---|
Fields inherited from class org.apache.struts.taglib.html.OptionsTag |
---|
collection, filter, labelName, labelProperty, messages, name, property |
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 | |
---|---|
ELOptionsTag()
|
Method Summary | |
---|---|
int |
doStartTag()
Process the start tag. |
String |
getCollectionExpr()
Getter method for "collection" tag attribute. |
String |
getFilterExpr()
Getter method for "filter" tag attribute. |
String |
getLabelNameExpr()
Getter method for "labelName" tag attribute. |
String |
getLabelPropertyExpr()
Getter method for "labelProperty" tag attribute. |
String |
getNameExpr()
Getter method for "name" tag attribute. |
String |
getPropertyExpr()
Getter method for "property" tag attribute. |
String |
getStyleClassExpr()
Getter method for "styleClass" tag attribute. |
String |
getStyleExpr()
Getter method for "style" tag attribute. |
void |
release()
Resets attribute values for tag reuse. |
void |
setCollectionExpr(String collectionExpr)
Setter method for "collection" tag attribute. |
void |
setFilterExpr(String filterExpr)
Setter method for "filter" tag attribute. |
void |
setLabelNameExpr(String labelNameExpr)
Setter method for "labelName" tag attribute. |
void |
setLabelPropertyExpr(String labelPropertyExpr)
Setter method for "labelProperty" tag attribute. |
void |
setNameExpr(String nameExpr)
Setter method for "name" tag attribute. |
void |
setPropertyExpr(String propertyExpr)
Setter method for "property" tag attribute. |
void |
setStyleClassExpr(String styleClassExpr)
Setter method for "styleClass" tag attribute. |
void |
setStyleExpr(String styleExpr)
Setter method for "style" tag attribute. |
Methods inherited from class org.apache.struts.taglib.html.OptionsTag |
---|
addOption, doEndTag, getCollection, getFilter, getIterator, getLabelName, getLabelProperty, getName, getProperty, getStyle, getStyleClass, setCollection, setFilter, setLabelName, setLabelProperty, setName, setProperty, setStyle, setStyleClass |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, 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 |
Constructor Detail |
---|
public ELOptionsTag()
Method Detail |
---|
public String getCollectionExpr()
public String getFilterExpr()
public String getLabelNameExpr()
public String getLabelPropertyExpr()
public String getNameExpr()
public String getPropertyExpr()
public String getStyleExpr()
public String getStyleClassExpr()
public void setCollectionExpr(String collectionExpr)
public void setFilterExpr(String filterExpr)
public void setLabelNameExpr(String labelNameExpr)
public void setLabelPropertyExpr(String labelPropertyExpr)
public void setNameExpr(String nameExpr)
public void setPropertyExpr(String propertyExpr)
public void setStyleExpr(String styleExpr)
public void setStyleClassExpr(String styleClassExpr)
public void release()
release
in interface Tag
release
in class OptionsTag
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class OptionsTag
JspException
- if a JSP exception has occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |