velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Dekany <ddek...@freemail.hu>
Subject Re: Problem setting the template
Date Wed, 06 Nov 2002 11:51:35 GMT
Wednesday, November 6, 2002, 6:47:36 AM, K Nataraj wrote:

[snip]
> Now what happens is that on submitting the screen(3rd frameset)
> session is validated and if session is expired then Login screen is
> appearing but in the third frameset. Is it possible for me to
> replace the entire page by the Login screen???? I want to Login
> screen to be displayed in the entire page rather than in frameset.
> Note : My Login.vm file is not a part of frames.
[snip]

Not a Velocity question, but I guess you should print something like
this into the third frame:

...
<p>Login expired. Redirecting to login page...
<script>window.top.location='theURLOfLogin.vm';</script>
<p><i>Click <a href="theURLOfLogin.vm" target="_top">here</a> if
nothing happens.</i>
...


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message