Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Window pop-up problem!....

Window pop-up problem!....

2004-07-29       - By Manish Malhotra

 Back
Reply:     1     2     3     4     5  

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".

©2008 junlu.com - Jax Systems, LLC, U.S.A.