You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Francisco Passos <fr...@gmail.com> on 2007/10/22 11:07:51 UTC

[Trinidad] Getting no-session PPR-redirect in 1.0.1

Good morning!

I'm using Trinidad 1.0.1, because PPR doesn't work in my app in either 1.0.2nor
1.0.3 (has been discussed in another thread).

However, there's one functionality from 1.0.2 that I'd like to have (
https://issues.apache.org/jira/browse/TRINIDAD-158) which is being able to
redirect PPR requests to login when the session has timed out.
I don't know if what I'm saying is possible, but I'm wondering if, since
1.0.1 is using iframes, it would be possible to return to the iframe a page
whose body, onload, would do anything like

top.location.href=loginPage.jsf

I'm betting this is not possible - at least not as simple as I'm saying; and
even if it was, I'd have no idea as to how to return specific html code.
Maybe the iframe doesn't even get html back from the server, but since this
functionality is quite important for the application I'm working with, I
either have to get it working or make sure it isn't possible.

Does anyone know if this is possible? Or any alternative?

Thank you,
Francisco Passos