You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Jacques Vall�e <in...@dnxsolutions.com> on 2006/06/15 20:25:04 UTC

MyFaces datascroller and URL JSP file with parameter

Context:

I'm using the version 1.1.3 of MyFaces and Tomahawk.

When I call a JSP file with URL, lets say product.jsf?cat=java, with a datascroller inside
product.jsp, everything works properly. The rows on the datatable are displayed correctly. And the
data filter, cat=java, is processed by a java bean controller. This is a classic example to use
component with JSF and MyFaces.

Problem:

When I press next button on datascroller, the URL called is product.jsf instead of
product.jsf?cat=java, and no data is rendered because that SQL statement needs a parameter value
cat=Java.

I tried <t:saveState id="cat" value="#{productCtrl.cat}"/>, but still product.jsf called.

I think it's a bug of design. I mean, on the datascroller specification, there is no property to
tell that we must keep rewritten URL.

Does anybody met this problem?

DNX