I have two JSF pages:
*categories.jsf*
- here I have links to projects.jsf with URL like
/projects?id=2
*projects.jsf*
- here I want to get id and show specific projects
When I click link on one page, I want to go to the second page with specific parameter. And on the second page get this parameter. I only found method using h:commandlink with backend managed bean. Is it the only way I can do this?
Edit:
Existing answers only show using backend beans to pass parameters between pages. My question here - if there is simpler method or no? Without creating beans.