Oh yeah, sorry, got mixed up with filters.

I don't think there's a way to get this information easily. You provide your own ThreadLocal store in a singleton object which you set in a custom ServletFilter and you can access then from the Provider.

The providers are designed to get and store information, and that is all.

/Janne

On 8 May 2009, at 10:46, Daniel Manzke wrote:

Hi,
the problem is that the provider doesn't have a reference to the
WikiContext. The only things the provider get is the WikiEngine and
Properties for initializing.

Any other ideas?

Thanks ;)

2009/5/8 Janne Jalkanen <[email protected]>


WikiContext.getHttpRequest()? Note that this may be null if the call to the renderer came from an embedded source which didn't have a HTTP request
to start with.

/Janne


On 7 May 2009, at 16:26, Daniel Manzke wrote:

Hi there,

I searched the mailing lists, but didn't find any solution for my problem. I'm thinking about integrating the jspwiki-engine into an existing web
application. Therefore I started developing my own PageProvider.
I did this before for an ECM and it was pretty easy.

My Problem:
Is there a way to access the HttpSession or HttpRequest of the current
request in the PageProvider?!




Thanks for helping,
Daniel





--
Mit freundlichen Grüßen

Daniel Manzke

Reply via email to