How do you have your OpenSEssionInViewFilter mapped?  What url-mapping
are you using?


On 1/12/07, Stephane Decleire <[EMAIL PROTECTED]> wrote:
Hi,

I've got a strange behavior in my T4.1.1 application when triggering a
DirectLink with the DojoAjaxResponseBuilder :

    @Component(id="selectLink", bindings={
            "listener=listener:doClick",
            "parameters=blockId",
            "async=true" })
    public abstract DirectLink getSelectLink();

When the async property is set to false, my page is displayed without
errors but when the property is set to true, i've got the awfull "lazy
initialisation exception" error when the page tries to access entity
beans managed by Hibernate.
It seems that the DojoAjaxResponseBuilder bypass the OpenSessionInView
filter declared in my web.xml file.

Is it a normal behavior for the Ajax requests ?
Any clue is welcome.

--
Stéphane Decleire





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

Reply via email to