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

#21669

Using a ThreadLocal is a good idea to work around this issue.

But I think you could also use PrettyContext.getCurrentInstance().getRequestURL() for this as Lincoln wrote. Or doesn’t this work for you?

Another thing. If you are using dynaview a highly recommend to update to the most recent PrettyFaces version 3.3.2 as it contains some important bugfixes for dynaview.

Christian