Re: Current http request in dynaview using pretty faces 3.2.0, seam 2.2.0, jboss 4.3

Splash Forums PrettyFaces Users Current http request in dynaview using pretty faces 3.2.0, seam 2.2.0, jboss 4.3 Re: Current http request in dynaview using pretty faces 3.2.0, seam 2.2.0, jboss 4.3

#21667

andyredhead
Participant

So, after browsing around the prettyfaces source code I found the PrettyContext object.

code

PrettyContext prettyContext = PrettyContext.getCurrentInstance();

_log.info(“getViewPath – pretty context is: “, prettyContext);

if (prettyContext != null) {

_log.info(“getViewPath – url info in pretty context: #0”, prettyContext.getRequestURL());

}

code

This at least gives me access to the incoming request url but it doesn’t seem to give me access to the http request.

Is there any standard way to access the current http request from within a dynaview bean?

Thanks.