This content has been marked as final.
Show 4 replies
-
1. Re: SerializableDataModel and Status of checkbox
nbelaevski Jul 6, 2010 4:44 AM (in response to argonist)Hi Manu,
Either in update() method or later in action method.
-
2. Re: SerializableDataModel and Status of checkbox
argonist Jul 6, 2010 4:51 AM (in response to nbelaevski)Hello Nick,
If I use action method, but I cannot get the list from datatable to store because of request scope. Always nullPointerException. I tried to implement the action method in the class with extended of SerializableDataModel.
I dont want to use the method "update()", because it should not store always.
Manu
-
3. Re: SerializableDataModel and Status of checkbox
nbelaevski Jul 6, 2010 8:16 AM (in response to argonist)You can copy list into request-scoped variable in update() and then save in action.
-
4. Re: SerializableDataModel and Status of checkbox
argonist Jul 6, 2010 9:51 AM (in response to nbelaevski)It is not working. I think i have to copy list into session-scope variable at another bean in update(), then it will be working. The code is not nice. It's pity.
Manu