Hi

once in a while, i´d like to create a servlet (or worse) that can grab data from the wicket application. currently, i do it through singletons which feels quite dirty.

i was wondering, if it would be possible to extend the WicketFilter, to offer a reference to anyone processing the request (further in the chain) to the application the request belongs to.

It might confuse some existing code if Application.get() suddenly would work, even though Wicket is not processing the request, but there are plenty of other possibilties, like request-attributes (might be very cheap in terms of performance) or dedicated threadLocals.

one could certainly do that by subclassing myself, but as this is the 3rd or 4th time i come across this need, i was wondering, if i am alone or simply missing something.

cu uwe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to