Hi James, 

I added it already:
-----------------------------
        <filter>
                <filter-name>openSessionInViewFilter</filter-name>

<filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
                <init-param>
                        <param-name>singleSession</param-name>
                        <param-value>true</param-value>
                </init-param>
                <init-param>
                        <param-name>sessionFactoryBeanName</param-name>
                        <param-value>opCustomerSessionFactory</param-value>
                </init-param>
        </filter>

...



        <filter-mapping>
                <filter-name>BasicFormApplication</filter-name>
                <url-pattern>/basicform/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
        </filter-mapping>
        <filter-mapping>
                <filter-name>openSessionInViewFilter</filter-name>
                <url-pattern>/basicform/*</url-pattern>
                <dispatcher>REQUEST</dispatcher>
                <dispatcher>INCLUDE</dispatcher>
                <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
-------------------------------------------

But it has something to do with transactions because the session is
opened. 

It's strange. It used to work... But something I changed made it to
broke. I even saved some objects before contacting you... hehehehe

I messed it up! :D

Any directions on this?


        


"No subestimes el poder de la gente estúpida en grupos grandes" 

El vie, 03-06-2011 a las 13:59 -0400, James Carman escribió:
> Try using the open session in view filter


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

Reply via email to