Forum Moderators: phranque

Message Too Old, No Replies

Submitting to a modal dialog

Submitting data to a modal dialog

         

sireesha

5:39 am on May 26, 2004 (gmt 0)

10+ Year Member



Hi all,
My requirement is to submit my form data to a modal dialog, I dont want to do this using query string as I want to submit huge data. I dont want to keep this form data in session as session would be very costly to maintain in my application. Is there any other way that I can submit my data to the modal dialog? This doubt is not specific to Apache Web server. Solution to this would be really helpful.

Thanks,
Sireesha

gergoe

6:06 pm on May 26, 2004 (gmt 0)

10+ Year Member



I don't really understand your problem; you want to send data from a server-side scrip to a modal form (do you mean an ordinary browser window here?) without changing the (html) code of that window/page, or you want to send data from one html page to the other? Or you have a form on a html page which should send its data to a popup window? Try to be a bit clearer on the details that might save you a lot of time in the future :-)

sireesha

3:38 am on May 31, 2004 (gmt 0)

10+ Year Member



My requirement is to submit a jsp page data to another jsp page which is a modal dialog opened by the earlier jsp.

gergoe

10:29 am on Jun 1, 2004 (gmt 0)

10+ Year Member



If you opened the window with javascript or with <a target="somename"> then you can use the target attribute of the <form> element to open the action page in a new, or already existing (named) window.

For example if you have a link like this <a href="/" target="mywin"> in a page, then later if the visitor clicked on this link then you can use the <form action="/" target="mywin"> to let the form being sent to that window.

I'm still not sure what do you really want, but I think this is much more related to browsers and javascript that to Apache, so you might be better of to post this question on the appropriate forum.