Window pop-up problem!.... 2004-07-29 - By Manish Malhotra
Back Thanks a lot, But Srini...
1.Have a hidden frame inside the parent window and submit through the hidden frame. // OK. But If I'll submit a hidden frame then my main jsp will remain as it is. Means it will not be visible as page is // submitting right? Page will look like static page at the time of submition.
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. // It means that after submitting the parent window I will open a window and kept its object. But if I write window.open // then it will open a window which is not required right now. I need to chck it on server that pop needs to be open or not.
3.To open a modal dialog u can use openmodaldialog() function avilable in javascript. // Thants fine.
Can u please solve my doubts.. I wud be thankful....
regards, Manish
-- --Original Message-- -- From: A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)]On Behalf Of Srinivasa Sai Chakravarthy V (CTC) Sent: Thursday, July 29, 2004 11:22 AM To: J2EE-INTEREST@(protected) Subject: Re: Window pop-up problem!....
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".
=========================================================================== 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".
|
|