| NetUI Tag Library Documentation (Version 1.0.1) |
FRAMES NO FRAMES |
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
A, C, E, F, G,
H, V, left arrow, and right arrow
action
attribute of the parent <netui:form> tag.<td cell="alternatingCellClass">
isAlwaysReport
is set to true, then the errors will be displayed in Production mode
as well as in Development mode. Otherwise, the errors will be displayed only in Development mode.Generates an anchor that can link to another document or invoke an action method in the Controller file.
Data grid cell used to render an HTML anchor.
Adds an attribute to the parent tag rendered in the browser.
scope
attribute.request
or session
) under which the associated Form Bean
used to populate the form input fields is stored.
Using the name
, type
and scope
attributes defines
the Form Bean used.name
and scope
attributes are set.
The Form Bean is then used to populate the form input fields.Renders an HTML <body> tag with the attributes specified.
- com/foobar/resources/WebAppProperties
- com.foobar.resources.WebAppProperties
These are treated as equivalent values. The java.util.ResourceBundle class
will handle appending the .properties
file type and locale information
as necessary. See java.util.ResourceBundle.getBundlegetBundle(String, Locale, ClassLoader)
for the .properties
file naming conventions. These files must be available in
classpath for the webapp in order to be successfully located.
The Caption tag is used to render an HTML <caption> inside of a data grid.
<td class="cellClass">
Generates a single HTML checkbox.
columns
attribute is specified but
the rows
attribute is not, the rows
attribute will be inferred
using the size of the data set.The configurePager tag is used to parameterize the data used to render a data grid's pager.
This tag is the containing tag for all tags and markup used to render a data grid.
Set the org.apache.beehive.netui.databinding.datagrid.api.DataGridConfig instance that this tag will use to create state containers and other data grid objects used during rendering. Custom implementations of this class can be provided that will override the defaults set in the org.apache.beehive.netui.databinding.datagrid.runtime.config.DefaultDataGridConfig.
dataInput
attribute) and return the value to a new destination (whatever is
referenced by the dataSource
attribute).
This attribute may take a String literal or a data binding expression.The dataSource
attribute determines both
(1) the source of populating data for the tag and
(2) the object to which the tag submits data.
For example, assume that the Controller file (= JPF file) contains a Form Bean with the property foo. Then the following <netui:textBox> tag will (1) draw populating data from the Form Bean's foo property and (2) submit user defined data to the same property.
<netui:textBox dataSource="actionForm.foo" />
When the tag is used to submit data, the data binding expression must refer to a Form Bean property. In cases where the tag is not used to submit data, but is used for displaying data only, the data binding expression need not refer to a Form Bean property. For example, assume that myIterativeData is a member variable on the Controller file ( = JPF file). The following <netui-data:repeater> tag draws its data from myIterativeData.
<netui-data:cellRepeater dataSource="pageFlow.myIterativeData">
Set the data source that references a data set to be rendered by the data grid. The data source should be a NetUI EL expression and generally looks like a JSP EL expression without the '${' and '}' characters. For example, to reference an array of Employee objects exposed via a NetUI page input, the expression might look like:
<netui-data:dataGrid dataSource="pageInput.employeeArray" name="employeeGrid">This expression will be evaluated the data grid in order to obtain a reference to the data set.
The dataSource
attribute determines both
(1) the source of populating data for the tag and
(2) the object to which the tag submits data.
For example, assume that the Controller file (= JPF file) contains a Form Bean with the property foo. Then the following <netui:textBox> tag will (1) draw populating data from the Form Bean's foo property and (2) submit user defined data to the same property.
<netui:textBox dataSource="actionForm.foo" />
The dataSource
attribute takes either a data binding expression or
the name of a Form Bean property. In the
above example, <netui:textBox dataSource="foo" />
would have the exactly same behavior.
When the tag is used to submit data, the data binding expression must refer to a Form Bean property. In cases where the tag is not used to submit data, but is used for displaying data only, the data binding expression need not refer to a Form Bean property. For example, assume that myIterativeData is a member variable on the Controller file ( = JPF file). The following <netui-data:repeater> tag draws its data from myIterativeData.
<netui-data:repeater dataSource="pageFlow.myIterativeData">
The dataSource
attribute determines both
(1) the source of populating data for the tag and
(2) the object to which the tag submits data.
For example, assume that the Controller file (= JPF file) contains a Form Bean with the property foo. Then the following <netui:textBox> tag will (1) draw populating data from the Form Bean's foo property and (2) submit user defined data to the same property.
<netui:textBox dataSource="actionForm.foo" />
The dataSource
attribute takes either a data binding expression or
the name of a Form Bean property. In the
above example, <netui:textBox dataSource="foo" />
would have the exactly same behavior.
When the tag is used to submit data, the data binding expression must refer to a Form Bean property. In cases where the tag is not used to submit data, but is used for displaying data only, the data binding expression need not refer to a Form Bean property. For example, assume that myIterativeData is a member variable on the Controller file ( = JPF file). The following <netui-data:repeater> tag draws its data from myIterativeData.
<netui-data:repeater dataSource="pageFlow.myIterativeData">
The dataSource
attribute determines both
(1) the source of populating data for the tag and
(2) the object to which the tag submits data.
For example, assume that the Controller file (= JPF file) contains a Form Bean with the property foo. Then the following <netui:textBox> tag will (1) draw populating data from the Form Bean's foo property and (2) submit user defined data to the same property.
<netui:textBox dataSource="actionForm.foo" />
The dataSource
attribute takes either a data binding expression or
the name of a Form Bean property. In the
above example, <netui:textBox dataSource="foo" />
would have the exactly same behavior.
When the tag is used to submit data, the data binding expression must refer to a Form Bean property. In cases where the tag is not used to submit data, but is used for displaying data only, the data binding expression need not refer to a Form Bean property. For example, assume that myIterativeData is a member variable on the Controller file ( = JPF file). The following <netui-data:repeater> tag draws its data from myIterativeData.
<netui-data:repeater dataSource="pageFlow.myIterativeData">
The dataSource
attribute determines both
(1) the source of populating data for the tag and
(2) the object to which the tag submits data.
For example, assume that the Controller file (= JPF file) contains a Form Bean with the property foo. Then the following <netui:textBox> tag will (1) draw populating data from the Form Bean's foo property and (2) submit user defined data to the same property.
<netui:textBox dataSource="actionForm.foo" />
The dataSource
attribute takes either a data binding expression or
the name of a Form Bean property. In the
above example, <netui:textBox dataSource="foo" />
would have the exactly same behavior.
When the tag is used to submit data, the data binding expression must refer to a Form Bean property. In cases where the tag is not used to submit data, but is used for displaying data only, the data binding expression need not refer to a Form Bean property. For example, assume that myIterativeData is a member variable on the Controller file ( = JPF file). The following <netui-data:repeater> tag draws its data from myIterativeData.
<netui-data:repeater dataSource="pageFlow.myIterativeData">
The dataSource
attribute determines both
(1) the source of populating data for the tag and
(2) the object to which the tag submits data.
For example, assume that the Controller file (= JPF file) contains a Form Bean with the property foo. Then the following <netui:textBox> tag will (1) draw populating data from the Form Bean's foo property and (2) submit user defined data to the same property.
<netui:textBox dataSource="actionForm.foo" />
The dataSource
attribute takes either a data binding expression or
the name of a Form Bean property. In the
above example, <netui:textBox dataSource="foo" />
would have the exactly same behavior.
When the tag is used to submit data, the data binding expression must refer to a Form Bean property. In cases where the tag is not used to submit data, but is used for displaying data only, the data binding expression need not refer to a Form Bean property. For example, assume that myIterativeData is a member variable on the Controller file ( = JPF file). The following <netui-data:repeater> tag draws its data from myIterativeData.
<netui-data:repeater dataSource="pageFlow.myIterativeData">
The dataSource
attribute determines both
(1) the source of populating data for the tag and
(2) the object to which the tag submits data.
For example, assume that the Controller file (= JPF file) contains a Form Bean with the property foo. Then the following <netui:textBox> tag will (1) draw populating data from the Form Bean's foo property and (2) submit user defined data to the same property.
<netui:textBox dataSource="actionForm.foo" />
The dataSource
attribute takes either a data binding expression or
the name of a Form Bean property. In the
above example, <netui:textBox dataSource="foo" />
would have the exactly same behavior.
When the tag is used to submit data, the data binding expression must refer to a Form Bean property. In cases where the tag is not used to submit data, but is used for displaying data only, the data binding expression need not refer to a Form Bean property. For example, assume that myIterativeData is a member variable on the Controller file ( = JPF file). The following <netui-data:repeater> tag draws its data from myIterativeData.
<netui-data:repeater dataSource="pageFlow.myIterativeData">
The dataSource
attribute determines both
(1) the source of populating data for the tag and
(2) the object to which the tag submits data.
For example, assume that the Controller file (= JPF file) contains a Form Bean with the property foo. Then the following <netui:textBox> tag will (1) draw populating data from the Form Bean's foo property and (2) submit user defined data to the same property.
<netui:textBox dataSource="actionForm.foo" />
The dataSource
attribute takes either a data binding expression or
the name of a Form Bean property. In the
above example, <netui:textBox dataSource="foo" />
would have the exactly same behavior.
When the tag is used to submit data, the data binding expression must refer to a Form Bean property. In cases where the tag is not used to submit data, but is used for displaying data only, the data binding expression need not refer to a Form Bean property. For example, assume that myIterativeData is a member variable on the Controller file ( = JPF file). The following <netui-data:repeater> tag draws its data from myIterativeData.
<netui-data:repeater dataSource="pageFlow.myIterativeData">
Declares a java.util.ResourceBundle as a source for displaying internationalized messages.
The DeclarePageInput tag is used to declare variables that are passed as outputs of Page Flow actions to a JSP.
dataSource
attribute references a null data set.Use in <netui:checkBoxGroup>, <netui:checkBox>, <netui:radioButtonGroup>, and <netui:select> tags
Sets the preselected value or values.
The defaultValue
attribute takes either a String literal or
a data binding expression.
If the defaultValue
attribute has a String value (or if
the data binding expression points to a String), then a single value
will be preselected.
If the defaultValue
attribute points to a String[] object
(or any object which can be iterated over), then
multiple values will be preselected.
Use in <netui:textArea> and <netui:textBox> tags
Sets the initial display text.
The defaultValue
attribute takes either a String literal or
a data binding expression that points to a String.
Use in <netui:checkBoxGroup>, <netui:checkBox>, <netui:radioButtonGroup>, and <netui:select> tags
Sets the preselected value or values.
The defaultValue
attribute takes either a String literal or
a data binding expression.
If the defaultValue
attribute has a String value (or if
the data binding expression points to a String), then a single value
will be preselected.
If the defaultValue
attribute points to a String[] object
(or any object which can be iterated over), then
multiple values will be preselected.
Use in <netui:textArea> and <netui:textBox> tags
Sets the initial display text.
The defaultValue
attribute takes either a String literal or
a data binding expression that points to a String.
Use in <netui:checkBoxGroup>, <netui:checkBox>, <netui:radioButtonGroup>, and <netui:select> tags
Sets the preselected value or values.
The defaultValue
attribute takes either a String literal or
a data binding expression.
If the defaultValue
attribute has a String value (or if
the data binding expression points to a String), then a single value
will be preselected.
If the defaultValue
attribute points to a String[] object
(or any object which can be iterated over), then
multiple values will be preselected.
Use in <netui:textArea> and <netui:textBox> tags
Sets the initial display text.
The defaultValue
attribute takes either a String literal or
a data binding expression that points to a String.
Use in <netui:checkBoxGroup>, <netui:checkBox>, <netui:radioButtonGroup>, and <netui:select> tags
Sets the preselected value or values.
The defaultValue
attribute takes either a String literal or
a data binding expression.
If the defaultValue
attribute has a String value (or if
the data binding expression points to a String), then a single value
will be preselected.
If the defaultValue
attribute points to a String[] object
(or any object which can be iterated over), then
multiple values will be preselected.
Use in <netui:textArea> and <netui:textBox> tags
Sets the initial display text.
The defaultValue
attribute takes either a String literal or
a data binding expression that points to a String.
defaultValue
will be used.
If neither a value nor defaultValue
is set, then the
empty String "" will be output.LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)LTR | RTL
)false
, the data grid will not render its pager and rendering
is left to the page author. When rendering is disabled, a pager can be rendered using the
org.apache.beehive.netui.tags.databinding.datagrid.RenderPager tag or manually in a page.disableSecondClick
is set to true,
the anchor will disable itself after being clicked.disableSecondClick
is set to true,
the anchor will disable itself after being clicked.disableSecondClick
is set to true,
the button will disable itself before submitting.disableSecondClick
is set to true,
the anchor will disable itself after being clicked.PageContext
at
org.apache.struts.action.Action.ERROR_KEY
.PageContext
at org.apache.struts.action.Action.ERROR_KEY.true
and runAtClient
is also true, then an expansion on this node will cause that
to happen on the server. When runAtClient is false, all expansions will happen on the server.Set the filter expression with which this cell should be associated. Cells use this value to lookup any org.apache.beehive.netui.databinding.datagrid.api.filter.Filter state that may apply to this cell. Often, this value matches a org.apache.beehive.netui.tags.databinding.datagrid.HeaderCell.setFilterExpressionsetFilterExpression(String) set on a header cell. It is used by data cells to render styles representing filtered data.
Set the filter expression with which this cell should be associated. Cells use this value to lookup any org.apache.beehive.netui.databinding.datagrid.api.filter.Filter state that may apply to this cell. Often, this value matches a org.apache.beehive.netui.tags.databinding.datagrid.HeaderCell.setFilterExpressionsetFilterExpression(String) set on a header cell. It is used by data cells to render styles representing filtered data.
Set the filter expression with which this cell should be associated. Cells use this value to lookup any org.apache.beehive.netui.databinding.datagrid.api.filter.Filter state that may apply to this cell. Often, this value matches a org.apache.beehive.netui.tags.databinding.datagrid.HeaderCell.setFilterExpressionsetFilterExpression(String) set on a header cell. It is used by data cells to render styles representing filtered data.
Set the filter expression with which this cell should be associated. Cells use this value to lookup any org.apache.beehive.netui.databinding.datagrid.api.filter.Filter state that may apply to this cell. Often, this value matches a org.apache.beehive.netui.tags.databinding.datagrid.HeaderCell.setFilterExpressionsetFilterExpression(String) set on a header cell. It is used by data cells to render styles representing filtered data.
Set the filter expression with which this cell should be associated. Cells use this value to lookup any org.apache.beehive.netui.databinding.datagrid.api.filter.Filter state that may apply to this cell. Often, this value matches a org.apache.beehive.netui.tags.databinding.datagrid.HeaderCell.setFilterExpressionsetFilterExpression(String) set on a header cell. It is used by data cells to render styles representing filtered data.
tagID
of an input field which should receive initial focus.The Footer tag is used to render a table row after the data grid has rendered the header and rows regions demarcated by the org.apache.beehive.netui.tags.databinding.datagrid.Header and org.apache.beehive.netui.tags.databinding.datagrid.Rows tags respectively.
formSubmit
is set to true, and the <netui:anchor> tag
is within a <netui:form> tag,
then the form data will be submitted to the method named in the
<netui:form> tag's action
attribute.formSubmit
is set to true, and the <netui:anchor> tag
is within a <netui:form> tag,
then the form data will be submitted to the method named in the
<netui:form> tag's action
attribute.formSubmit
is set to true, and the <netui:anchor> tag
is within a <netui:form> tag,
then the form data will be submitted to the method named in the
<netui:form> tag's action
attribute.false
.This tag evaluates an expression and places the result in the javax.servlet.jsp.PageContext object, where the data is available to the JSP EL and JSP scriptlet.
Utility data grid tag that allows the page author to gain access to the org.apache.beehive.netui.databinding.datagrid.api.DataGridState object outside of the body of a <netui-data:dataGrid> tag.
The Header tag is used to render a table row(s) before the data grid has rendered data rows as demarcated by the org.apache.beehive.netui.tags.databinding.datagrid.Rows tag.
This tag is used to render an HTML table header cell and should generally be used inside of the data grid's org.apache.beehive.netui.tags.databinding.datagrid.Header tag.
Renders an <html> tag.
Generates a hyperlink with a clickable image.
This tag is a data grid cell used to render an HTML image inside of an anchor.
<input type="image">
tag with the specified attributes.
Data grid cell that renders an HTML <image> tag containing the tag's source
attribute.
style
attribute. If this is not set, and style
is set,
then it will be applied to the image.styleClass
attribute. If this is not set, and styleClass
is set, then it will be applied to
the image.This tag provides a message schema, which can be parameterized to construct customizable messages.
This tag should be used in conjunction with the org.apache.beehive.netui.tags.databinding.message.Message tag to provide a message argument to the message format provided in the org.apache.beehive.netui.tags.databinding.message.Message.setValuesetValue(Object) method.
A tag that is used to add an argument to a method that will be called on some object.
padText
attribute. This value can be an integer or can be an expression that resolves to an integer.nullable
is set to true.default
is an illegal value for this attribute and is reserved for use by this tag.name
for the <netui-template:attribute> placeholder. The name
may be used more than once in a template page.attribute
set to true, the null option won't be shown.nullable
attribute is set to true, then the nullableOptionText
attribute determines the display text of the null option.
The default is to use the empty string, "", as the display text.Sets the number of items rendered by a org.apache.beehive.netui.tags.databinding.repeater.Repeater tag.
Page # of # Previous Nextwhere Previous and Next are anchors that can navigate to the previous and next pages. When there is no previous or next page, Previous or Next are displayed as literal text.
Page # of # First Previous Next Lastwhere First, Previous, Next, and Last are anchors that can navigate to the first, previous, next, and last pages respectively. When the anchors would reference invalid pages, First, Previous, Nest, and Last are displayed as literal text.
Writes a group of name/value pairs to the URL or the parent tag.
popup
is set to true,
the anchor will open a popup window.popup
is set to true,
the anchor will open a popup window.popup
is set to true,
the button will open a popup window.popup
is set to true,
the anchor will open a popup window.renderAsButton
is set to true,
render a <button> rather than an <input> tag.Data grid tag used to render the grid's pager at a specific location in a JSP.
Sets a boolean that enables / disables rendering of HTML table row groups in the data grid. When row group rendering is enabled, the data grid tags will produce the thead, tbody, and tfoot HTML tags via the org.apache.beehive.netui.tags.databinding.datagrid.Header, org.apache.beehive.netui.tags.databinding.datagrid.Rows, and org.apache.beehive.netui.tags.databinding.datagrid.Footer tags respectively. In addition, as per the HTML specification, the data grid will reorder the output of the row groups to in order to produce valid HTML. When row group rendering is enabled and a page is using JavaScript, the data grid must be nested inside of a NetUI org.apache.beehive.netui.tags.javascript.ScriptContainer in order for JavaScript rendering to be ordered correctly. Legacy JavaScript script mode is not supported by the data grid.
Iterates over a data set to render it as HTML.
Renders the footer of a org.apache.beehive.netui.tags.databinding.repeater.Repeater tag.
Renders the header of a org.apache.beehive.netui.tags.databinding.repeater.Repeater tag.
This tag is used to render an individual item in the data set as it is iterated over by the org.apache.beehive.netui.tags.databinding.repeater.Repeater tag.
repeatingOrder="dataSource,option"Then a <netui:selectOption> element could set the repeatingType attribute to "dataSource" while another is defined for "option".
Set the resource bundle path used when getting messages from a org.apache.beehive.netui.databinding.datagrid.api.DataGridResourceProvider during data grid rendering. The resource bundle provided here will entirely override messages obtained from the org.apache.beehive.netui.databinding.datagrid.api.DataGridResourceProvider and must include all message keys that are used for rendering. In order to replace individual messages, use the behavior available from the org.apache.beehive.netui.tags.databinding.datagrid.DataGrid.setBehaviorsetBehavior(String, Object, String) method.
${pageScope}
with the attribute name set via this property.${pageScope}
with the attribute name set via this property.pageScope
. If the value of this attribute
is foo
, the resulting message will be available with ${pageScope.foo}
.id
or name
attribute,
to participate in URL rewritting.This tag is optionally used to render HTML table roe tags inside of one of the data grid tags that are used to denote data grid row rendering boundaries.
<tr class="rowClass">
rows
attribute is specified but
the columns
attribute is not, the columns
attribute will be
inferred using the size of the data set.The Rows tag is used to render a table row(s) that contain the data from a data set displayed in a data grid.
target
attribute
to invoke a new page flow in a separate window.Outputs a script block into the generated HTML.
style
attribute being generated for this tree node.class
attribute being generated for this tree node.true
.true
false
Generates styled text based on a String literal or data binding expression.
Data grid cell that renders an HTML <span> tag containing the tag's value
attribute.
Set the name of a CSS policy to use when rendering HTML elements in a data grid. The data grid supports the default style policy names defined here org.apache.beehive.netui.databinding.datagrid.runtime.config.DefaultDataGridConfig#getStyleModel(String, String).
Set the style class prefix used to namespace style class names rendered as attributes on HTML tags generated by the data grid. For example, when using the default style policy without setting this attribute, the style rendered for the generated HTML table tag will be:
<table class="datagrid">With the style class prefix of
foo
, the rendered HTML style class will be:
<table class="foo">
<table class="tableClass">
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
String value. Sets the id
(or name
) attribute of the rendered HTML tag.
Note that the real id attribute rendered in the browser may be
changed by the application container (for example, Portal containers may change
the rendered id value to ensure the uniqueness of
id's on the page). In this case, the real id rendered
in the browser may be looked up
through the JavaScript function lookupIdByTagId( tagId, tag )
.
For example, assume that some tag's tagId
attribute is set to foo
.
<netui:textBox tagId="foo" />
Then the following JavaScript function will return the real id attribute rendered in the browser:
lookupIdByTagId( "foo", this )
To get a <netui:form> element and all of its children elements in JavaScript, use
the same JavaScript function lookupIdByTagId( tagId, tag )
. For example,
assume that there is a <netui:form> whose
tagId attribute is set to bar
.
<netui:form tagId="bar" >
Then the following JavaScript function will return the <netui:form> element and its children (packaged as an array).
document[lookupIdByTagId( "bar", this )]
To retreive the value entered into a <netui:textBox> within the <netui:form> tag, use the following JavaScript expression.
document[lookupIdByTagId("bar", this)][lookupIdByTagId("foo", this)].value
The second parameter ensures that the JavaScript function
begins its search within the correct Portlet scope. Pass the
JavaScript keyword this
as the second parameter.
Data grid cell that renders the content contained inside of its body inside of an HTML <td> tag.
style
attribute of the tree.class
attribute of the tree.Set a String matching the type of this parameter on the method to invoke.
This name should match the primitive type name or fully qualified class name of the parameters on the signature of the method to which this parameter will be passed. For example:Method Signature | Argument Name | Type value |
addToPrice(int price) | price | int |
addToPrice(Integer price) | price | java.lang.Integer |
submit
, button
, or reset
.
The default value is submit
.number
, currency
, or percent
.style
attribute being generated for this tree node.style
attribute being generated for this tree node.resultId
attribute.Set the object to use when formatting a message. This value should be either a String or be convertable to a String via its java.lang.Object.toStringtoString() method. In ordet for format the message, this value should appear as:
Hello, {0}!where the
{0}
can be filled in during formatting via the org.apache.beehive.netui.tags.databinding.message.MessageArg tag.
|
FRAMES NO FRAMES |