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!

Validate, save and close pop-up window

404030Nov 14 2007 — edited Nov 14 2007
Hi,
I have a window where I via a button, trigger a custom pop-up window.

What I want to do when the user hits the submit button in the pop-up window are::
1. Validate and report any errors
2. If now errors -> save
3. Close pop-up window
4. Reload the calling page

I have the logic that loops the pop-up window (it's a tabular form), it's a after-submit process and the code to close the pop-up window in javascript.

The problem is that the javascript code is triggered before my after-submit process, obviously.
I was then thinking that I will loop my tabular form in my pop-up window using an application process that I call from javascript and handle everything there. The problem is when I try to loop the tabular form HTMLDB_APPLICATION.G_F20.COUNT always contains 0 so nothing will happen.

Is there anybody that have a solution to this problem?

Possible solution 1:
Close my pop-up using PL/SQL in the after-submit process....?

Possible solution 2:
A way to loop the tabular form using an application process, the preferred solution?

Any pointers will be appreciated...

Regards Daniel
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2007
Added on Nov 14 2007
2 comments
1,013 views