Thursday, March 12, 2009

JDev/ADF sample - ADF Faces Rich Client PopUp and Master-Detail

  • ADF Faces Rich Client PopUp and Master-Detail. In documentation and tutorials you will usually find classical example of Master-Detail relationship separated into two pages. However, with JDeveloper/ADF 11g more and more frequently we are moving to ADF Faces Rich Client popup based approach. This approach allows us to use Ajax popup for one part of Master-Detail relationship instead of separate page. Of course, frequently Master-Details are implemented on the same page, but I will write in this post about two pages approach transformation into page and Ajax popup.
    Download - PopUpRefreshBackground.zip
Spanish Summary:

En este ejemplo, Andrejus muestra el uso de Lista de Valores para obtener un valor de una Lista. Bien, en estos casos se detalla un comportamiento no deseado debido a una configuraciĆ³n que genera el asistente por default. Por ello Andrejus brinda un tip para solucionar este inconveniente.

4 comments:

Reena said...

Hello Andrejus,

Thanks for posting very useful posts. I have a similar requirement to refresh the popup on clicking of main page. In your example, How can I refresh department popup on clicking of Employee Id's.

Thanks in advance for your kind help.

Andrej Baranovskij said...

Hi,

You can use af:clientListener component and raise PopUp through JavaScript. Similar as in my post - http://andrejusb.blogspot.com/2008/08/custom-lov-type-functionality-in.html

Thanks,
Andrejus

squirtle23 said...

Hi Andrejus,

I like this post.

But supposed I need to display a Master Detail relationship on a Panel Tab or Accordion. Is this possible?

Andrej Baranovskij said...

Yes sure, just drag and drop Master-Detail VO instances accordingly.

Andrejus