Oracle Fusion Middleware Tag Reference for Oracle ADF Faces
11g Release 2 (



setPropertyListener set property listener setProperty setproperty

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:

  1. The value of "#{row}" will be retrieved - which corresponds to the current row in the table.
  2. That object will get stored as the "detail" property in process scope.
  3. The user will navigate to the "showDetail" outcome of this page (because of the "action" property on the <h:commandButton>).

The target page can then retrieve the detail object from the process scope and use it as needed.

  <h:dataTable var="row" value="#{....}">
      <h:commandButton value="Show..." action="showDetail" ..>
        <af:setPropertyListener from="#{row}"


Name Type Supports EL? Description
Only EL