jsf navigation to another method
I am developing an application using jsf 2.0 and i have the following
situation:
I have 2 managed beans.
On the first managed bean i have a method that process some data and then
store the result in session.After the data was stored in session i need to
invoke a method on the second bean that will display the information from
session.
The problem is that if i return a string from the first bean method that
correspond to the seconds bean method view the data is not processed, and
of course not displayed.
What i need is some navigation rule that from the first bean would
redirect me to the second bean method, and the second bean method would
return a string with the corresponding view name.
No comments:
Post a Comment