How do you allow users to bookmark pages and search engines to index pages
when JSF uses POST? If all my URLs are going to look like:

... /category.jsf

and I need them to look like:

... /category.jsf?category=43739

I see that you can use a redirect, but how does this help things?

It's possible to inject request parameters into the properties of managed beans in the faces-config.xml file using JSF EL:

.
<value>#{param.category}</value>
.

It's also possible to add e.g. <f:param name="category" value="43739" /> as a child of an <h:outputLink> or <h:commandLink> component to set request parameters.

Jeremy

Reply via email to