[jboss-user] [JBoss Seam] - Logging in and null outjected objects
oblivion1200
do-not-reply at jboss.com
Tue Oct 2 16:22:30 EDT 2007
Hello, I have problem with logging in and outjected objects.
I have two xhtml pages. First is visible for all, second only to logged users. The first page has link to second page. When I click on that link, user object is outjected
@Out(required=false,scope=ScopeType.SESSION)
| private Users user;
The second page has to display info about this user.
I have restriced acces to second page
<page view-id="/user.xhtml" login-required="true" />
so now when I click on link and I am not logged in I get redirected to login page. Then I log in and there is no user object outjected. Second page displays invalid data (nulls).
If I log in first and after that go to first page and click the link, it works ok.
Is there any way to solve this problem?
Thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090808#4090808
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090808
More information about the jboss-user
mailing list