I'm trying to pass a parameter to an other page. I have a category of images and that list is in a session scope, a link is created for each of this category in my header template.
I would like to redirect to a new page, and pass the selected category.
<h:dataTable id="categoryMenu" value="#{menuBean.listCategory}" var="category">
<h:column>
<h:link value="#{category.name}"
outcome="/image/imageList.xhtml" >
</h:link>
</h:column>
</h:dataTable>
But now I would like that my page imageList.xhtml associated with a ImageListBean.java get the selected category.
I tried a lot of things by requesting GET parameters with f:param, but because my ImageListBean.java must be as view scoped it does not work.