create it lazily when it gets requested from the request cycle? -igor
On Mon, Apr 28, 2008 at 3:36 AM, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: > Dear Wicket Gurus, > > I'm implementing the Open-session-in-view pattern overriding the > onBeginRequest and onEndRequest method of a custom WebRequestCycle. > > Is there any way to avoid to open a new hibernate session for non-view > request, for example resources request (css, javascript, images, etc) > served through the wicket application? > > Basically I'm looking for a method to identify requests for static resources > that does not requires n open hibernate session. > > > Thank you, > > // Paolo > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]