List Info

Thread: - (Resolved) - how to use a subclass of SheetState




- (Resolved) - how to use a subclass of SheetState
user name
2006-07-29 19:04:47
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:johnkjak.com]
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
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )