Hello,
I got an activation page (where a user can activate his account with a link
from an email). this page is defined in pages.xml as followed:
<pages>
| <page view-id="/activate.xhtml" action="#{activateCustomer.check}"/>
| </pages>
The check method contains following code:
Utils.addInfoMessage("Activation_AlreadyActivated");
| return "login";
and the navigation-case in faces-config.xml is this one:
<navigation-case>
| <from-outcome>login</from-outcome>
| <to-view-id>/login.xhtml</to-view-id>
| <redirect/>
| </navigation-case>
The redirect works fine but the Stored Message is not diplayed!
If I don't configure the redirect in faces-config.xml I get the Message.
If I try the same thing with an action (invoked via post) the Message is
displayed after the redirect.
I'm not quite shure but I think the Message stored in conversation scope is
cleared to early.
Gavin can you have a look at this?
Thanks
- Andreas
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940542#3940542
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940542
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user