InMethodGrid - wicket 6 - ColumState is not updated #156

Open
pradu2 opened this Issue Oct 11, 2012 · 0 comments

Projects

None yet

1 participant

pradu2 commented Oct 11, 2012

Hi,

It seems that the AJAX request doesn't update ColumnState when resizing or moving columns. I tried with wicket 6.0 and wicket 6.1. The effect is that, after grid refresh (for example, after using the sorting header control or row selection), the column order and sizes are reset to initial values.

I'm using the following maven dependency:

    <dependency>
        <groupId>org.wicketstuff</groupId>
        <artifactId>wicketstuff-inmethod-grid</artifactId>
        <version>6.0.0</version>
    </dependency>

By debugging javascript, I found out that getColumnState is called correctly and generates the state (column ids and sizes), but the AJAX request handler doesn't pass it over to the server.

The following request is generated:

GET /TestApp/?0-1.IBehaviorListener.1-form-grid&_=1349950435125&columnState=undefined HTTP/1.1
Host: localhost:8080
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Wicket-Ajax: true
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4
Accept: application/xml, text/xml, /; q=0.01
Wicket-Ajax-BaseURL: .
Referer: http://localhost:8080/TestApp/?0
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=BE6FE260DE81D34AF8FB234FBC7B69B4; splashShown1.6=1; COOKIE_SUPPORT=true; GUEST_LANGUAGE_ID=ro_RO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment