Passing parameters in URL
Hi,
I'm having a lot of trouble with passing get parameters in through the url using JSF.
I have links generated in a dataTable:
<h:outputLink value="showObject.faces">
<h:outputText value="#{object.description}"/>
<f:param name="objid" value="#{object.id}"/>
</h:outputLink>
This generates a link to "showObject.faces?objid=3" which looks fine.
But when I click on it I get the exception:
exception
javax.servlet.ServletException: viewId:/showObject.faces - View /showObject.faces could not be restored.
root cause
javax.faces.application.ViewExpiredException: viewId:/showObject.faces - View /showObject.faces could not be restored.
Anyone has any idea what's causing this?
The page showObject.faces shows up nicely if no parameters are passed.
Br,
/Richard

