o
Tag singleRowSelection


The SingleRowSelection component is used for single row selection. Can be specified only as a child tag for the dataTable component.


Tag Information
Tag Classorg.openfaces.taglib.jsp.table.SingleRowSelectionJspTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
actionfalsejavax.el.MethodExpression
(signature must match java.lang.Object action())
truenullSimilar to the "action" attribute of the HTMLCommandButton component. It can either specify a string defining the static outcome of the selection change action, or it can be defined as a method-binding expression. Defining the "action" attribute causes form submission when the user changes selection.
enabledfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether or not the user can change selection.
executefalsejavax.el.ValueExpression
(must evaluate to java.util.List)
truenoneId's of components whose data should be submitted and processed on the server in addition to the reloaded components. The difference with render is that components listed in execute will just process the submitted data, but won't be rerendered. This can often be needed when the reloaded data depends on some other component on a page. Evaluates to Iterable. If a literal is specified can be a single id or a comma-separated list if id's.
keyboardSupportfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether or not selection can be made with the keyboard.
mouseSupportfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether or not selection can be made with the mouse.
onchangefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed every time the user changes selection.
renderfalsejavax.el.ValueExpression
(must evaluate to java.util.List)
truenoneId's of components, which will be rerendered after successful Ajax request. Evaluates to Iterable. If a literal is specified can be a single id or a comma-separated list if id's.
rowDatafalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
onlynullThe row data object for a currently selected row. The value "null" means no row is currently selected.
rowIndexfalsejavax.el.ValueExpression
(must evaluate to int)
onlynullThe index of the selected row. The index of the first row is 0. The value "-1" means there is no row currently selected or the selected row is not visible because of another page being viewed or filtering applied.
stylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for a selected row.
styleClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for a selected row.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.