Re: Pretty faces don`t work for me

Splash Forums PrettyFaces Users Pretty faces don`t work for me Re: Pretty faces don`t work for me

#23274

You should either use:

<pretty:link mappingId="home">
Home
</pretty:link>

or:

<h:link outcome="/home.xhtml">
Home
</h:link>

or:

<h:link outcome="pretty:home">
Home
</h:link>

Using plain <a> links won’t work. You should have a look at:

http://ocpsoft.org/docs/prettyfaces/3.3.3/en-US/html/components.html

http://ocpsoft.org/docs/prettyfaces/3.3.3/en-US/html/outbound_rewriting.html#jsf