Monday, February 8, 2016

ADF View Object Collection Behavior

In ADF Application if we create browse page for VO and another page or popup for editing and create a form of the same VO, and in case redirect from browse page to edit page and we select a record it will be displayed in form?












let me say that table that will be displayed in your page is a collection of specific VO and every record inside it is object from the same specific object, in ADF that collection has it's built in iterator that used to load specific object in case we select that object so by default the iterator will display first record if we make row selection with none, and in this case the iterator will loop only one time to display all values inside the collection and then will refer to first record, so if you make redirect to any form of the same specific VO in this case it always display the first record.let me say also that in case you make row selection property with single that means the iterator will be used in many times in each time you select a record iterator will load to load it and change the reference of VO and make it refer to new object in collection


Finally I can say that ADF let it's built-in tools to manage all action with out heavy coding from developers, so it is a great framework.


Best Regards,
Mohamed Fathy

No comments:

Post a Comment