damien.cassou at laposte.net
Thu Feb 23 22:00:16 UTC 2006
here is the current #isSelected: code from WACollectionTag:
^ self isMultiple
ifTrue: [ selected includes: anObject ]
ifFalse: [ selected = anObject ].
If the user did not have selected anything (nor the programmer have
choosen a default selection), this method will call #includes: on
You may want to verify selected is not nil before sending it #includes:.
More information about the Seaside