Re: some questions

Splash Forums PrettyFaces Users some questions Re: some questions


In an active HttpRequest, you can use the following static method to get a handle to the current PrettyContext:

PrettyContext.getCurrentInstance(HttpRequest request)

PrettyContext is created when the request is handled by PrettyFilter (should be before any of your application logic.)

It depends… when do you want to load the mappings from the Database? At what point during runtime?