Ugh.  Frames.

You have two options.

One: when a user logs in, you set the TARGET of the <a> 
link to be "_top", and have the login listener method 
set the page to Home, which will repaint the overall 
frameset and all three frames.

Two: Add javascript so that when the user logs in (I'm 
assuming login takes place in the CONTENT frame), the 
menu and/or top frames refresh.

Use the Script component and a Tapestry script 
specification to generate the JavaScript.

I can't be any more specific without seeing your code 
(and I'm not a consulting service anyway).

Good luck,

Howard


--
[EMAIL PROTECTED]

http://tapestry.sf.net
> I am having a small problem with frames and having to change multiple
> targets dynamically
> 
> My situation
> I have a frameset defined in a page called "HOME" like the following
> 
> -------------------------------------
> |                                             |
> |             TOP                             |
> |-----------------------------------|
> |     |                                       |
> |     |                                       |
> |MENU |                                       |
> |     |                                       |
> |     |               CONTENT         |
> |     |                                       |
> |     |                                       |
> |     |                                       |
> |     |                                       |
> -------------------------------------
> 
> All the links in the "MENU" frame have as target the "CONTENT" frame
> My problem occures when the user logs in.
> In the case that the user logs in successfully. Both the "CONTENT" frame as
> well
> as the "MENU" frame has to change (the menu has to match the type of user
> logged in).
> 
> In other words, under certain situations I have to change multiple frames at
> the same time
> I thought of calling cycle.setPage("HOME") to call the page which defines
> the
> frameset so the the whole frameset gets loaded but this opens a new window.
> 
> I dont know how to do this dynamically.....Please help!!!!
> 
> Thank you in advance
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.391 / Virus Database: 222 - Release Date: 2002/09/19
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to