Hi All,
I am looking for a way to achieve page navigation on request scope to display information on user.
I want to display on one page (backing bean 'BeanA' - page request) - this page displays a list of users (their name and email and a link row), I want that when clicking on a link a new page opens that has it's own bean (BeanB - request scope) and to tell this bean that user_id X was selected - something similar to /user.jsp?userid=X
If I register the bean (BeanB) on session scope I can always set the user id and then return the action
string that navigates to my page.
The problem starts when the bean is a page request.
Assume that each link on each row return the action string that navigates to the other page,how can I forward the user-id parameter?
I am breaking my head with this, and currently I made it old fashion, I am using a link with the parameter in the query string, and then I read it from the request on the constructor of BeanB - but I would like to use the h:commandLink and the
JSF navigation.
Thanks in advance for your kind answers.
Best Regards,
Elico.