Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

Start a form submission in for a parent window from a child window

800344Apr 26 2007 — edited Apr 26 2007
Dear all,

Suppose I use Internet Explorer.

I implemented a popup modal window. So I have a parent window and a child window, after I finish the work on child window, I save some results on the session. So I arrange that when I close the child window, I will refresh the parent window to update the data.

However, in the parent window, if I already filled some fields of a form before I open the child window, I will lose all of them after refresh.

Now I want to replace the line:
window.dialogArguments.location.reload(true);
by something to submit the action form for the parent window (I know the location by window.dialogArguments.location). If this works, I will be able to keep the previous filled data and start a new action instead a refresh.

My question is that how to write this form submission from the child window (by javascript?).

Best regards,

Pengyou
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 24 2007
Added on Apr 26 2007
1 comment
276 views