> i guess i just need a persisted property on the page of default > selection value and use it in "get" property for checkbox value. And > change this property from action link or smth. A page reload, but it > seem to be right thing.
It is almost ok, but when grid switches pages, noone on server side gets a notification about it. I did something like that: -- @Persist private Boolean defaultSelectState; which is triggered on and off by 2 event handlers; -- getSelected() which returns defaultSelectState; i did both this simple way and the "complex" one with saving Map<EntityId, Selected> for selections. It is ok for rows that are on the same page that is opened, but as soon as i just switch to another page -- it is bad :-) Even if i return the value i've got from setSelected (through that map), noone calls setSelected() to save grid page status when page switch is performed. I guess, I need to do some kind of submit whenever grid pager link is used. Right? But not the total form submit, but the one that just triggers setSelected for all rows and nothing more. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
