NetUI Tag Library Documentation (Version 1.0.2)

netui
netui:attribute Tag

Adds an attribute to the parent tag rendered in the browser.

Syntax

<netui:attribute
    facet="string_or_expression_value"
    name="string_name"
    value="string_or_expression_value" />

Description

Adds an attribute to the parent tag rendered in the browser.

The following <netui:attribute> tags are rendered within the <span> tag in the browser.

    <netui:span value="Some Text">
        <netui:attribute name="a" value="aVal" />
        <netui:attribute name="b" value="bVal" />
        <netui:attribute name="c" value="cVal" />
    </netui:span>

The HTML rendered in the browser appears as follows.

    <span a="aVal" b="bVal" c="cVal">Some Text</span>
Note that the value attribute can be dynamically determined using a databinding expression.
    <netui:attribute name="a" value="${pageFlow.aAttributeValue}" />

Attributes
facet
Required:   |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The name of the facet targetted by the attribute.
name
Required: Yes  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The name of the attribute to add to the parent tag.
value
Required: Yes  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The value of the attribute to add to the parent tag.


Tag Information
Tag Classorg.apache.beehive.netui.tags.html.Attribute
TagExtraInfo ClassNone
Body Contentempty
Display NameNone