Reply To: Autocomplete PrimeFaces don't work with PrettyFaces

Splash Forums PrettyFaces Users Autocomplete PrimeFaces don't work with PrettyFaces Reply To: Autocomplete PrimeFaces don't work with PrettyFaces

#26763

I think the problem is that your mappings are matching too many URLs. For example:

<url-mapping parentId="home" id="viewCategory">
  <pattern value="/#{ category : categoryBean.categoryName}"/>
  <view-id value="/faces/somethingList.xhtml"/>
</url-mapping>

This for example will also match /something.css or /foobar.js. And I guess the AJAX requests sent by the components will also be affected. Please note that the rules will not only apply to JSF pages but also to all other requests which the client sends.

You should change the mapping to something like:

<url-mapping parentId="home" id="viewCategory">
  <pattern value="/category/#{ category : categoryBean.categoryName}"/>
  <view-id value="/faces/somethingList.xhtml"/>
</url-mapping>