Re: Static url for all site

Splash Forums PrettyFaces Users Static url for all site Re: Static url for all site

#22578

In this case your only option is to use dynaview. Just create one single dynaview mapping in your pretty-config.xml with a viewId pointing to an EL method. This method then has to decide somehow, which page should be rendered. You could perhaps save the “current view” in the session and simply return this from the dynaview method.

See the documentation for details:

http://ocpsoft.org/docs/prettyfaces/3.3.2/en-US/html/Configuration.html#config.dynaview