2 Replies Latest reply: Feb 8, 2013 5:06 AM by Baduel RSS

    How to execute detail iterator on demand

      In my application I have a master-detail relationship from a VO instance master to n VO instances details. More precisely the collections are represented by a master table and n detail tables in a panelTabbedLayout (once per tab).

      The default behavior is that, once the page is called, all the iterators are executed (both master and detail). This happens also if I set to false the rendered attribute of the entire panelTabbedLayout (I proove this by using the -Djbo.debugoutput=console java option in my view project and checking the printed SQL query).

      My question is: is it possible to execute the iterator only if the relative tab is displayed (i.e. only on demand)? I have to set the refresh and/or refreshCondition properties of the iterator?

      I use JDeveloper

      Thanks in advance.