[jboss-user] [JBoss Seam] - Re: How to redirect flow between two beans?
iradix
do-not-reply at jboss.com
Thu Jul 13 12:09:04 EDT 2006
I'm not sure I follow, but if as your comment states you want to call the method from another seam managed bean try:
@In(create = true)
| private HotelSearchingAction hotelSearchingAction
user = results.get(0);
| Contexts.getSessionContext().set("loggedIn", true);
| FacesMessages.instance().add("Welcome, #{user.name}");
| // here I want to redirect to hotel search instead of displaying the main page
| // need to call HotelSearchingAction.find
| return hotelSearchingAction.find();
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957799#3957799
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957799
More information about the jboss-user
mailing list