My app uses home.page.xml with login-required="true". So, when identity.logout
executes, control tries to render home.xhtml (that's why i don't use view on
s:link). But, since home.xhtml is login-required and logout already called,
seam correctly drives to login.xhtml. Of course, you have to ca
"baspet" wrote : Does home.page.xml has login-required="true"?
|
| V.
|
There's no home.page.xml. The default Seam web template in eclipse or seam-gen
doesn't generate that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125493#4125493
Reply to t
"brombie" wrote : I've tried commenting out the notLoggedIn and
postAuthenticate events in components.xml but it didn't solve the problems.
It wouldn't be a good solution anyway, since I do need those events to be
handled as configured.
|
Yup I've tried that too and it didn't work.
I've al
Does home.page.xml has login-required="true"?
V.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125460#4125460
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125460
___
jbo
"baspet" wrote : Try to remove view from s:link. It works for me..
|
| V.
|
Thanks for the response, baspet, but removing the view from the logout link
will take you to the home.xhtml instead of to login.xhtml, which put us back to
square one. If I click the login link from the home pa
Try to remove view from s:link. It works for me..
V.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125445#4125445
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125445
___
I'm having the same problem here. This problem is easy to duplicate if you
have eclipse with JBoss tools. Just create a new Seam Web Project which will
give you the login and home page.
The logout link in the generated menu.xhtml is:
If you change the view to /login.xhtml like this:
the
"baspet" wrote : i had the some problem. Solved it, putting comments to:
| a) event type="org.jboss.seam.notLoggedIn"
| b) event type="org.jboss.seam.postAuthenticate"
| in components.xml
|
| V.
|
So that's what cause the problem. Thanks, I'm going to try it out. :)
View the origina
i had the some problem. Solved it, putting comments to:
a) event type="org.jboss.seam.notLoggedIn"
b) event type="org.jboss.seam.postAuthenticate"
in components.xml
V.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124689#4124689
Reply to the post :
http://
"[EMAIL PROTECTED]" wrote : I've never seen anything like this happen. Can you
post your code?
The link for logging out:
|
When I click this link and successfully logged out, I must log in twice. And
this occurs everytime.
login.xhtml
|
|
|
|
"amitev" wrote : I've met this problem before. I think it's caused because the
session is invalidated after the new view is rendered. You can't make a post
back because jsf can't find the serialized view to restore.
|
| The solution is to use redirect in your link/button.
Can you please sh
I've met this problem before. I think it's caused because the session is
invalidated after the new view is rendered. You can't make a post back because
jsf can't find the serialized view to restore.
The solution is to use redirect in your link/button.
View the original post :
http://www.jboss
I've never seen anything like this happen. Can you post your code?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124647#4124647
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124647
___
13 matches
Mail list logo