This is recognized by dynaTable.
]]>See the "Decode Behavior for UISelectOne Components" section as well as for "Decode Behavior for UICommand Components".
Obtain the Map
from the "requestParameterMap"
property of the ExternalContext
.
If the value in theMap
for the value of the "clientId" property of the
component is null
, create a String by concatenating
the value of the "clientId" property of the component with the
String ".x" (without the quotes). Create another String in the
same manner, but concatenate ".y" (without the quotes). Ifnull
is the value in the Map
for both
Strings, return from decode()
. If the value in theMap
for the value of the "clientId" property of the
component is not null
, get the value of the "type"
attribute, and convert it to lower case. If the result is equal
to the String "reset" (without the quotes), return fromdecode()
. Otherwise, create ajavax.faces.event.ActionEvent
around the component,
and pass it to the queueEvent()
method of the
component, which must be an instance ofUICommand
.
Encode Behavior
Render an HTML "select" element. Render the clientId of the
component as the value of the "name" attribute. If the
"styleClass" attribute is specified, render its value as the value
of the "class" attribute on the "select" element. If the component
to be rendered is a UISelectMany, render "true" as the value of
the "multiple" attribute. Use the number of items as the value of
the "size" attribute. See the "Rendering
the option elements" specification forListboxRenderer
for more detail on how to render the "option" elements in this renderer.