|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectTagSupport
BodyTagSupport
AbstractClassicTag
HtmlBaseTag
LabelBase
Span
public class Span
Generates styled text span based on an expression or literal value.
If the resulting value to be output is the " "
<netui:span value="${actionForm.firstName}" />
In this next sample, the value attribute will resolve to null.
This causes the defaultValue to be displayed. The user will see ' '.
<netui:span value="${pageFlow.somethingNull}" defaultValue=" "/>
In this next sample, the HTML will contain the text "&nbsp;" and the user will see ' '
<netui:span value="${pageFlow.somethingNull}" defaultValue="&nbsp;"/>| Field Summary |
|---|
| Fields inherited from class LabelBase |
|---|
_defaultValue, _escapeWhiteSpace, _formatDefaultValue, _formatterErrors, _value, DEFAULT_NULL_TEXT |
| Fields inherited from class AbstractClassicTag |
|---|
DefaultNamingChain, EMPTY_STRING, NETUI_UNIQUE_CNT |
| Fields inherited from class BodyTagSupport |
|---|
bodyContent |
| Fields inherited from class TagSupport |
|---|
id, pageContext |
| Fields inherited from interface BodyTag |
|---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
Span()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
Render the label. |
int |
doStartTag()
Prepare the label formatters. |
protected AbstractHtmlState |
getState()
This method will return the state associated with the tag. |
String |
getTagName()
Return the name of the Tag. |
protected void |
localRelease()
Release any acquired resources. |
| Methods inherited from class LabelBase |
|---|
addFormatter, filter, formatterHasError, formatText, setDefaultValue, setEscapeWhiteSpaceForHtml, setFormatDefaultValue, setValue |
| Methods inherited from class HtmlBaseTag |
|---|
getJavaScriptAttribute, getOnClick, getTagId, renderDefaultNameAndId, renderNameAndId, setAttribute, setDir, setLang, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setStateAttribute, setStyle, setStyleClass, setTagId, setTitle |
| Methods inherited from class BodyTagSupport |
|---|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
| Methods inherited from class TagSupport |
|---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface IFormattable |
|---|
addFormatter, formatterHasError |
| Methods inherited from interface Tag |
|---|
getParent, setPageContext, setParent |
| Constructor Detail |
|---|
public Span()
| Method Detail |
|---|
public String getTagName()
getTagName in interface INetuiTaggetTagName in class AbstractClassicTagprotected AbstractHtmlState getState()
getState in class HtmlBaseTagAbstractHtmlState class.
public int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class BodyTagSupportJspException - if a JSP exception has occurred
public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class BodyTagSupportJspException - if a JSP exception has occurredprotected void localRelease()
localRelease in class LabelBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||