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

#23279

Hi,

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:

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

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:

https://github.com/chkal/wjax11-demo

Or check out the Maven archetypes:

https://github.com/chkal/prettyfaces-archetypes/wiki

I hope this helps.

Christian