Re: URL routing at runtime

Splash Forums PrettyFaces Users URL routing at runtime Re: URL routing at runtime

#20552

Hi dodi,

Yes, this is possible, but currently not very convenient. PrettyFaces does not have a native API to support this, but more and more people are asking for it, so it sounds like we should probably start trying to address it.

Right now, you’ll have to set a new configuration into the PrettyContext manually. PrettyContext.setConfig(), but this will be global for all users. There is only one central configuration. Separate users will be tricky, but not impossible… could I ask you to describe your use-case a little bit more? I might be able to give you a better answer.

For example, why are you doing this? How do your URLs look, in which situations?

–Lincoln