Posted By:
Anonymous
Posted On:
Wednesday, May 14, 2008 12:26 AM
Hi All,
I am facing problem with the rendering of a jsf view.
I have a jsp page where I have called a validateUser(userName)method of my Controller class LoginController.
This method returns a string which is then mapped into the navigation-rules.xml and then to tiles-def .
I am getting the string on my jsp page but i don't know how to render a view based on that returned string .
The problem is like based on user name the role is decided in the logincontroller class and then based on the returned role I need to display the home page of that particular user.
PLS help me to solve this problem.
Its very urgent.