The selectionListener
attribute of the ADF Table (af:table) component synchronizes the currently selected table row with the underlying ADF table binding iterator. By default, upon dropping a collection to a JSF page as an ADF table, JDeveloper sets the value of the selectionListener
attribute of the corresponding af:table
component to an expression similar to #{bindings.SomeCollection.collectionModel.makeCurrent}
. This expression indicates that the makeCurrent
method of the collection's model is called in order to synchronize the table selection with the table iterator binding.
In this recipe, we will cover how to implement your own custom table selection listener. This will come in handy if your application requires any additional processing before or after a table selection is made.