Rather than trying to subclass the SheetState class.
Simply using SheetState's:  getSelectedRows().clear()   rather than SheetState's resetSelected(), solves the issue.
 
John


From: John [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 2:22 PM
To: MyFaces Discussion
Subject: [Tobago] - how to use a subclass of SheetState

I want to sub-class SheetState to fix the resetSelected() bug, ( using clear instead of assigning a new array ), so that I can clear selections.
 
However, apparently internals of Tobago make new SheetStates, so I get errors when just changing all uses of SheetState to MySheetState.
I can't find instances of this being done within the examples either....
 
Thanks,
John

Reply via email to