« JDeveloper 11g R1 Patch Set 1 released | Main | JDeveloper 11g R1 PS1 New Feature: Launching DHTML popup dialogs using the external dialogframework »
How-to open an input form in a popup launched from a detailStamp facet of a table
By frank.nimphius | November 12, 2009
I started a new series on ADF Code Corner in which I’ll take interesting programming challenges from the Oracle JDeveloper OTN forum and publish a solution in form of a Camtesia demo.
In this Camtasia video I explain how to open an input form in a popup launched from a detailStamp facet of a table. While this sounds easy to do with ADF, there is a bit of a challenge in it. Because the disclosing a detail stamp of a table does not mark the row as current, you need to ensure that the binding layer always is aware of teh context – the row to edit. There are two approaches to handle this use case and I decided to use a disclosure listener that makes the row the current row upon disclosure. In this video, you learn
- how to distinguish between and opening and closing operation in a disclosure listener
- how to ensure that only a single row is disclosed at a time
- get the binding object of the hierarchical tree binding from the table value
- Use JavaScript within a managed bean
- turn a form submit into committing a transaction
Unfortunately I am limited by a 5 MB size restriction when uploading files to OTN. Therefore – because the video came out log – I had to reduce the visual quality of the Camtasia movie. I am working hard on producing shorter videos that then can run in the best quality possible – I promise
Frank
Topics: ADF Faces RC | No Comments »
Comments are closed.
