New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inmethod grid "deselect all" doesn't work #64
Comments
The problem is in @Override
public CharSequence getCallbackUrl()
{
return super.getCallbackUrl() + "&checked='+this.checked+'";
} It seems `````` http://localhost:8080/data-grid/item-selection?3&checked=true``` Of course it starts working if I modify it like this: @Override
public CharSequence getCallbackUrl()
{
getPage().getPageParameters().remove("checked");
return super.getCallbackUrl() + "&checked='+this.checked+'";
} But it does not look correct to me. Is this a correct wicket behavior? I would imagine in an ajax response super.getCallbackUrl() always returning the original url (without the parameters added by this behavior) not the last one. |
Hm, this doesn't look correct indeed. |
It is the
Both "checked" and "random" are added to the page parameters but "random" is cleaned out later in Maybe |
Probably the same issue as in https://issues.apache.org/jira/browse/WICKET-4109. |
Should be fixed now with the commit in https://issues.apache.org/jira/browse/WICKET-4109 |
Sorry - but the problem is not fixed. When using CheckBoxColumn load rows and click on the header checkbox, then all checkboxes deactivate, the check mark disappears. After that it is not possible to check any row check box. What can I do? |
It's my fault.I saw the com.inmethod.grid.examples and replaced the model within my implementation of IDataSource<>. Since using Detachable model, it works very well. Sorry for disturbing. |
Open http://www.wicketstuff.org/grid-examples/data-grid/item-selection (this is 1.5-SNAPSHOT from 04 Oct 2011), select all items, try to deselect them. The last step doesn't work.
The text was updated successfully, but these errors were encountered: