|
||||||||||
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.HtmlTag org.apache.strutsel.taglib.html.ELHtmlTag
public class ELHtmlTag
Renders an HTML element with appropriate language attributes if there is a current Locale available in the user's session.
This class
is a subclass of the class org.apache.struts.taglib.html.HtmlTag
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.HtmlTag |
---|
lang, messages, xhtml |
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 | |
---|---|
ELHtmlTag()
|
Method Summary | |
---|---|
int |
doStartTag()
Process the start tag. |
String |
getLangExpr()
Getter method for "lang" tag attribute. |
String |
getXhtmlExpr()
Getter method for "xhtml" tag attribute. |
void |
release()
Resets attribute values for tag reuse. |
void |
setLangExpr(String langExpr)
Setter method for "lang" tag attribute. |
void |
setXhtmlExpr(String xhtmlExpr)
Setter method for "xhtml" tag attribute. |
Methods inherited from class org.apache.struts.taglib.html.HtmlTag |
---|
doEndTag, getLang, getXhtml, renderHtmlStartElement, setLang, setXhtml |
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 ELHtmlTag()
Method Detail |
---|
public String getLangExpr()
public String getXhtmlExpr()
public void setLangExpr(String langExpr)
public void setXhtmlExpr(String xhtmlExpr)
public void release()
release
in interface Tag
release
in class HtmlTag
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class HtmlTag
JspException
- if a JSP exception has occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |