Stanczak Group wrote:
> 
> I'm not for sure what to use. I tried to override the newRequestCycle() 
> but I had trouble understanding it. I'm doing something like what 
> DataBinder does, but with 1.3. DataBinder seems to be 1.2. Either way 
> I'd rather use my own. Does anyone have an example of providing my own 
> request cycle, or is there an easier way?
> 
> Sam Hough wrote:
>> I think it is setup with ThreadLocal so you can get it easily with
>> RequestCycle.get(). You can also provide your own version from
>> Application.newRequestCycle which might be more what you need to hook in
>> start/end events.
>>
>>
>>
>> Stanczak Group wrote:
>>   
>>> How can I access the request cycle so I can open and close a Hibernate 
>>> session on each request?
>>>
>>> -- 
>>> Justin Stanczak
>>> Stanczak Group
>>> 812-735-3600
> 

DataBinder (1.1-SNAPSHOT) definitely works with 1.3.  Databinder also does a
pretty good job of integrating Hibernate into the Wicket models.  Is there a
use case for which Databinder does not work for you?

Chuck
-- 
View this message in context: 
http://www.nabble.com/RequestCycle--tf4569125.html#a13046998
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to