19 April 2015

Access attribute of list in ADF

I want to display 2 rows/records using PanelForm side-by-side in ADF. The records are something like this:  1st record will have old version of the data and 2nd record will have new version of the data. Both versions of data has to be displayed side-by-side to give a view to user for verifying it.

Solution:
1. Assume the data control is having the rows under "list" element.
2. Drag-and-Drop "list" element to ADF form.
3. You will get a popup for to select the UI Control. Select "Table/List view" -> ADF Table(readonly). This will create bindings for "list"


4. Now, use the following expression to access the 2nd row's attribute "col1"

bindings.list.children[1].col1


5. Now the output looks like this:



No comments :

Post a Comment