[jboss-user] [JBoss Seam] - How to redirect flow between two beans?
shasho
do-not-reply at jboss.com
Tue Jul 11 13:22:42 EDT 2006
The general question is how can I direct the flow of the program from one java action bean to another?
Here is a scenario
1. User log in using username and password
2. An action bean checks the username/password (loginAction.java)
3. Now I want to jump from loginAction.java to a new action bean (displayAction.java) and perform a database search there (displayAction.find)
I have hard time performing step 3! If I redirect from loginAction.java to the DisplayAction xhtml associated with displayAction.java using the ?navigation-case? I cant call the ?find? because the EntityManager in displayAction.java is null thus the DisplayAction xhtml appears empty
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957090#3957090
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957090
More information about the jboss-user
mailing list