Oracle Fusion Middleware Tag Reference for Oracle ADF Faces 11g Release 2 (11.1.2.3.0) E17491-05 |
The setPropertyListener tag provides a declarative syntax for assigning values when an event fires. The setPropertyListener implements the listener interface for a variety of events, to indicate which event type it should listen for set the 'type' attribute.
</section> <section name="Code_Example_s_">This example shows a table with a "Show..." button. When the button is pressed, the following will happen:
<h:dataTable var="row" value="#{....}">
...
<h:column>
<h:commandButton value="Show..." action="showDetail" ..>
<af:setPropertyListener from="#{row}"
to="#{pageFlowScope.detail}"
type="action"/>
</h:commandButton>
</h:column>
</h:dataTable>
Name | Type | Supports EL? | Description |
---|---|---|---|
Yes | |||
Only EL | |||
No |