You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Joerg Latteier <la...@online.de> on 2004/01/23 14:42:33 UTC

Refreshproblem on Home-page with 4 frames

Hi,

my application layout within the "Home.html" page consists of four
frames 
(one for the dynamic content, one header, one frame for navigation-menu
and one for general info purposes). 
All pages use @Conditional to show different content based upon whether 
the user is logged in or not.

When starting, the login-form is located in the header and after
submitting 
the username/password in the form and successful login I want to go back

to the "Home" page with 

  cycle.activate("Home");

As there are @Conditional-clauses in the pages within all frames, the
user should then get a different view - but: only the header frame is
refreshing correctly - all other frames do not change.
Only when pressing CTRL-F5 all frames refresh. The browser's setting
is to load the page on every access.

Any idea why this does not work as expected ?

Comments on the general concept on using frames here would also be
appreciated.

Thanks
Joerg


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


Re: Refreshproblem on Home-page with 4 frames

Posted by Programozás <pr...@hotmail.com>.
Browsers behave like you wrote. Going BACK apply only to the last updated
frame - in your case the header frame.
The thing is even more difficult because IE and Mozilla handles multiple
frames differently when the BACK button is pressed.

You can hack it by explicitly refreshing your frames using Javascript.

I recommed not to use frames if you can avoid them. (The only exception is
when some part of the page remains REALLY constant during the whole
browsing.)

----- Original Message ----- 
From: "Joerg Latteier" <la...@online.de>
To: "'Tapestry users'" <ta...@jakarta.apache.org>
Sent: Friday, January 23, 2004 2:42 PM
Subject: Refreshproblem on Home-page with 4 frames


> Hi,
>
> my application layout within the "Home.html" page consists of four
> frames
> (one for the dynamic content, one header, one frame for navigation-menu
> and one for general info purposes).
> All pages use @Conditional to show different content based upon whether
> the user is logged in or not.
>
> When starting, the login-form is located in the header and after
> submitting
> the username/password in the form and successful login I want to go back
>
> to the "Home" page with
>
>   cycle.activate("Home");
>
> As there are @Conditional-clauses in the pages within all frames, the
> user should then get a different view - but: only the header frame is
> refreshing correctly - all other frames do not change.
> Only when pressing CTRL-F5 all frames refresh. The browser's setting
> is to load the page on every access.
>
> Any idea why this does not work as expected ?
>
> Comments on the general concept on using frames here would also be
> appreciated.
>
> Thanks
> Joerg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>

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