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



no, you don’t have to use PrettyFaces annotations if you don’t want to. It’s just an alternative configuration style. If you prefer XML, then just use pretty-config.xml.

I’ve no idea what’s going wrong in your app. You say that the page is just refreshing when you click a button? Could you show you web.xml, your pretty-config.xml, the relevant page source and your action method please?

If you want to see example code, either have a look at the documentation:

or take a look at this example application I build some time ago. The web app is in German, but I think you will understand the source code very easily:

Or check out the Maven archetypes:

I hope this helps.