I would actually keep using OSIV.

To answer the question: probably you are using models wrong. If OSIV
works for your normal requests, it works for Ajax requests. There is
nothing different between these requests.

Martijn

On Fri, Nov 7, 2008 at 1:33 PM, Bruno Borges <[EMAIL PROTECTED]> wrote:
> With Ajax request I would probably avoid that pattern.
> That could lead to serious problems.
>
> How about having a different method to load the object with the required
> data for that specific ajax request?
>
> cheers,
> Bruno Borges
> blog.brunoborges.com.br
> +55 21 76727099
>
> "The glory of great men should always be
> measured by the means they have used to
> acquire it."
> - Francois de La Rochefoucauld
>
>
> On Fri, Nov 7, 2008 at 1:27 PM, miro <[EMAIL PROTECTED]> wrote:
>
>>
>> I am using hibernate and all my collections are lazy  , they get loaded
>> only
>> when called . I am also using ajax to get collection property on click ,
>> but
>> i am getting Lazy loading exception  for ajax  request where I load the
>> collection ,  I am using
>> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter  ,Please
>> help me    how to use OpenSessionInViewFilter    with ajax calls ?
>> --
>> View this message in context:
>> http://www.nabble.com/ajax-request-and-hibernate-lazy-loading-tp20387124p20387124.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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

Reply via email to