|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTagSupport
org.apache.struts.taglib.html.HtmlTag
Renders an HTML element with appropriate language attributes if there is a current Locale available in the user's session.
Field Summary | |
protected boolean |
locale
Should we set the current Locale for this user if needed? |
protected static MessageResources |
messages
The message resources for this package. |
protected boolean |
xhtml
Are we rendering an xhtml page? |
Constructor Summary | |
HtmlTag()
|
Method Summary | |
protected java.util.Locale |
currentLocale()
Deprecated. Use getCurrentLocale instead because it makes the display logic easier. |
int |
doEndTag()
Process the end of this tag. |
int |
doStartTag()
Process the start of this tag. |
protected java.util.Locale |
getCurrentLocale()
Return the current Locale for this request. |
boolean |
getLocale()
|
boolean |
getXhtml()
|
void |
release()
Release any acquired resources. |
void |
setLocale(boolean locale)
|
void |
setXhtml(boolean xhtml)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static MessageResources messages
protected boolean locale
protected boolean xhtml
Constructor Detail |
public HtmlTag()
Method Detail |
public boolean getLocale()
public void setLocale(boolean locale)
public boolean getXhtml()
public void setXhtml(boolean xhtml)
public int doStartTag() throws JspException
JspException
- if a JSP exception has occurredpublic int doEndTag() throws JspException
JspException
- if a JSP exception has occurredpublic void release()
protected java.util.Locale currentLocale()
null
.
protected java.util.Locale getCurrentLocale()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |