Well a bit off topic for servlets - But anyway you can open another
browser window with the "target" attribute on the HTML "a href=" and
"form" tags and then play games with the focus javascript events on the
two windows. The window.open() javascript method also opens another
browser window. DHTML layers are probably a better design for human
usability. None of this is truly modal in the stateless web client
world. The amount of time you will invest in trying to get this half way
working may not be worth it in the end.

- Paul Copeland - JOT Servlets - http://www.jotobjects.com

Date:    Thu, 29 Jul 2004 09:37:23 +0530
From:    Manish Malhotra <[EMAIL PROTECTED]>
Subject: Window pop-up problem!....

Hi All,

My Requirement is:

Im creating one web application.

I have one screen say S1. There is a link on this screen which needs to
open a pop-up window.
But the form needs to be submited to send a parameter and on the server
side we check this paramater as its 'true' or 'false'. Depends on that
It decides that pop-up has to be open or not.

And my second requirement is this parent-child window relationship should be
modal view. As its in swing. So, that user can't access the parent one until
child is open. And no new child will be pop-up if one already open.

So, can you please help me out.
I need this help urgently. Actually I know something is there in DHTML for
thei modal.

But actually is it possible through JavaScript. So, that without submitting
the parent window
I can acheive this goal.

Many Thanks. Your input is required.

regards,
Manish Malhotra





=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com

Reply via email to