Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Trigger Dynamic Action from Popup Window

devlarrySep 8 2015 — edited Oct 2 2015

I have a pop up window which a user chooses a name from a report (address book). When they select the user the name, phone, and email populate the main form. The pop up has JavaScript that populates the opener.document fields. I created a Dynamic Action that uses the on change event to run a PL/SQL code to fill in the users supervisors information. The problem is the setting the fields in the opener from the popup appears to not trigger the onchange event. If I manually enter the information the process triggers and works. I have tried several ways to set the value using the $s() and document.getElement... but still no onchange trigger. I googled to see if someone else encountered this and had a solution but did not find any that works. I came across the apex.event.trigger but it fires it the pop up window and not in the opener window. I could not find any way to reference through javascript, jquery, or apex the "opener.window" to trigger the change.

I was wondering if anyone had any solution or thoughts of a solution?

Thanks in advance for all assistance.

Lawrence

Oracle APEX 4.2.6

Database 11g

Chrome Browser

Comments

Sven W.

Is your APEX builder set to english or german? I had some scenarios where that made a difference (it shouldn't thou).

Timo Annemüller

Hi,

the Builder is set to german.

I found something out yesterday:

When i create a form with the wizard the button labels are in english, whats wrong.

When i create a form with interactive report, alle the button labels are in german, what they should be.

Maybe it a problem direct in Apex?

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 30 2015
Added on Sep 8 2015
6 comments
1,314 views