Re: Rewriting problem

Splash Forums PrettyFaces Users Rewriting problem Re: Rewriting problem

#20778

robert.m
Participant

Thank you for your answer Lincoln. I’ll try to implement it using dynaview. What i still have to do is provide the Bean with a list of all pages (e.g. “welcome”, “contact”, … I have ~5-6 of them). Otherwise, all requests to resources like javascript or css would be changed to a .xhtml-URL.

But anyways, injecting a List of Strings into the bean is easier than having to add a <url-mapping> for every page. Especially if the list can be generated using a database.

Thanks for your advice :)