Re: Dynamic sub view with Pretty Faces

Splash Forums PrettyFaces Users Dynamic sub view with Pretty Faces Re: Dynamic sub view with Pretty Faces

#20271

Did you take a look at the DynaView feature of PrettyFaces?

http://ocpsoft.com/docs/prettyfaces/3.1.0/en-US/html/Configuration.html#config.dynaview

This may be a better way of solving your problem as you won’t need to dynamically include views in some kind of master file. You can use standard Facelets/VDL templating to include your header and footer.