Window pop-up problem!.... 2004-07-29 - By Srinivasa Sai Chakravarthy V (CTC)
Back Hello,
I hope this helps you
1.Have a hidden frame inside the parent window and submit through the hidden frame. 2.Have a object of child window like var win=window.open("x.jsp"); check for if(win.closed) { } which returns true if window is closed. 3.To open a modal dialog u can use openmodaldialog() function avilable in javascript.
Thanks & Regards V.Srinivasa sai chakravarthy __ ____ ____ ____ ______ AIU Travel Insurance TATA Consultancy Services AIG-TCS Chennai Technology Center #1, Jawaharlal Nehru Road Vadapalani, Chennai - 600 026, TamilNadu, India
Phone No : +91 44 5550 5266 __ ____ ____ ____ ______
> -- --Original Message-- -- > From: A mailing list for Java(tm) 2 Platform, Enterprise Edition > [SMTP:J2EE-INTEREST@(protected)] On Behalf Of Manish Malhotra > Sent: Thursday, July 29, 2004 9:37 AM > To: J2EE-INTEREST@(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, send email to listserv@(protected) and include in the > body > of the message "signoff J2EE-INTEREST". For general help, send email to > listserv@(protected) and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|