struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vic" <...@fayek.ca>
Subject RE: forward to a new window
Date Mon, 01 Aug 2005 13:38:26 GMT
> 1. What are the relations between the new window and the original one?
> Do they share the same session attributes?

Typically, the parent & child window will share the same session attributes.


> 2. How do you define a child window in JSP - can you please attach an
> example?

You would have to use javascript to do something like:

<a href="#" onclick="document.open('childname','','');"
target="childname">link</a>


Vic



> Rivka
>
> -----Original Message-----
> From: Mark Benussi [mailto:mark_benussi@hotmail.com]
> Sent: Monday, August 01, 2005 3:12 PM
> To: user@struts.apache.org
> Subject: RE: forward to a new window
>
> when writing a link the target attribute can be set with _new or _blank
> or
> even the name of a child window. When youclick on the link it will open
> in
> said new window.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> **************************************************************************************************
> The contents of this email and any attachments are confidential.
> They are intended for the named recipient(s) only.
> If you have received this email in error please notify the system manager
> or  the
> sender immediately and do not disclose the contents to anyone or make
> copies.
>
> ** eSafe scanned this email for viruses, vandals and malicious content. **
> **************************************************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message