Re: Jboss-5.1.0GA and Pretty Faces

Splash Forums PrettyFaces Users Jboss-5.1.0GA and Pretty Faces Re: Jboss-5.1.0GA and Pretty Faces

#20870

amandabogado
Participant

Thanks for the help! so far, I managed to start the Jboss without errors. I tried other versions of the commons libraries required, and now I have no problem to start my application.

I started tying the simplest use of Pretty Faces in url rewriting.

The pretty-config.xml file that I created is..

<?xml version=”1.0″ encoding=”UTF-8″?>

<pretty-config xmlns=”http://ocpsoft.com/prettyfaces/3.2.0″

xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”

xsi:schemaLocation=”http://ocpsoft.com/prettyfaces/3.2.0

http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.2.0.xsd“>

<url-mapping id=”home”>

<pattern value=”/ProductosDestacados/”/>

<view-id>/secure/Index/ProductosDestacados.jsf</view-id>

</url-mapping>

</pretty-config>

But, I still get the old url when I access to the site, in the page specified in the pretty-config.xml file.

Is there something that I’m missing?

Thanks again…