sendRedirect() / forward() from frame to top window

2003-07-31 Thread Rick Roberts
How can I use sendRedirect() or forward() from a child frame and force the 
target to be the top or parent frame?

Similar to a href='target.jsp' target='_top'Top Frame/a
but using sendRedirect() or forward()
Thanks
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: sendRedirect() / forward() from frame to top window

2003-07-31 Thread Shapira, Yoav

Howdy,
You can't with a pure server-side solution, as the server doesn't know
anything about the frames, only your browser does.  So you have to use
JavaScript or another client-side approach to get the source from the
server and copy it into the desired frame.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:18 PM
To: Tomcat Users List
Subject: sendRedirect() / forward() from frame to top window

How can I use sendRedirect() or forward() from a child frame and force
the
target to be the top or parent frame?

Similar to a href='target.jsp' target='_top'Top Frame/a
but using sendRedirect() or forward()

Thanks
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: sendRedirect() / forward() from frame to top window

2003-07-31 Thread Rick Roberts
Thanks for reply Yoav.

Is there an HTML paramater (maybe META tag or something similar) that will tell 
the page to always be the _top frame?  Or maybe a body onLoad() technique that 
I can use to force this page to always live in the top frame?

I realize I'm getting a little off topic now. So; appologies in advance :)

Thanks,

--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
Shapira, Yoav wrote:
Howdy,
You can't with a pure server-side solution, as the server doesn't know
anything about the frames, only your browser does.  So you have to use
JavaScript or another client-side approach to get the source from the
server and copy it into the desired frame.
Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:18 PM
To: Tomcat Users List
Subject: sendRedirect() / forward() from frame to top window
How can I use sendRedirect() or forward() from a child frame and force
the

target to be the top or parent frame?

Similar to a href='target.jsp' target='_top'Top Frame/a
but using sendRedirect() or forward()
Thanks
--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[OFF-TOPIC] RE: sendRedirect() / forward() from frame to top window

2003-07-31 Thread Shapira, Yoav

Howdy,

Is there an HTML paramater (maybe META tag or something similar) that
will
tell
the page to always be the _top frame?  Or maybe a body onLoad()
technique
that
I can use to force this page to always live in the top frame?

Yes, frame-popping is pretty easy.  A simple variant would be like:

body onload=window.top.document=this.document;

I'm not sure of the above 100%, but it should be close, and regardless a
google search will yield many alternatives.

I realize I'm getting a little off topic now. So; appologies in advance
:)

Hence the modified subject.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]