Monday, February 17, 2014

How to display content based on attribute value ?


This blog explains about how to display/refresh <af:table> data based on specific attribute value

Scenario  : Display only rows where 'isDeleted' attribute value is 'N'

Implementation

1 Create 'Tree Iterator Binding' for the view object which is dragged on to the page/fragment as <af:table> component , and select the 'Filter Attribute' and 'Filter Value' as shown below


Below is how the pageDef.xml looks like


You will see results in <af:table> component only 'isDeleted' attribute value equals 'N'.

No comments:

Post a Comment