i've tried the below task using jquery library imports step-step but its not working
i am having a form with 2 regions but i want to display the second region as popup when a button on first region is clicked. This popup region i enter values (emp name and Location) when i close the popped up region i want the 2 values to be passed to the calling region(using apex 4.1.x)....any idea? thanks.
Actually i had tried that same code which only works as stated there but as i make changes to fit my requirement it doesnt work. In my case iam using Form template not report/no template because i need popup region/region2 with 2 text items as i mentioned before after entry i close the modal region and go back to the calling form-region/region1 with passed values shown on region1.
NOTE****If not possible i tried to create a separate page popuped but how do i pass the 2 values on the first form1 items when popup form2 page is closed,,,,,any idea?
I followed the instructions from Dan's webinar, and after a bit of patience I had a working model that does exactly what Dan's sample provides and seemingly what you are describing.
I can send multiple items of info to my 2nd page which is opened as a modal dialog, and I send one unit of information back, but no reason why I couldn't grab session state info from the 2nd page.
Thanks maybe i was too much in a hurry but with patience all work correctly now except small problem. When the popup page comes up for the first time the background(of the popup page) is black how can i resolve this? regards,
Hope i caught you at the right. Did you notice this with Dan's modal page plug-in everything works perfectly but the popup page background is initially black before regions/data are displayed. I know this is not related to opacity parameter which only affects the parent form/page and i verified that....so what could be the issue here? thanks.
I am not sure this is the wright answer
if you have two region in the same page I would suggest you define the second region template as modal region and provide a static id
and in the button action select redirect to URL and call the regions
create two button on region2 cancel and submit
and submit button you can create a process and manipulate the data.