[Seaside-dev] Re: [Seaside Commits] Seaside 3.0: Seaside-Tests-Functional-obi.101.mcz

Paolo Bonzini bonzini at gnu.org
Thu Dec 31 17:40:30 UTC 2009


On 12/31/2009 05:31 PM, Gerhard Obermann wrote:
> Well I could use value: if i use something like:
>
> value: anObject
>
>     group isNil
>           ifTrue: [ super value: anObject]
>           ifFalse: [group hasCallback
>                           ifTrue: [ self value: (group callbackValue:
> anObject) ]
                                       ^^^^

you mean super here

>                           ifFalse: [ super value: anObject] ]

which gives

(group notNil and: [ group hasCallback ])
     ifTrue: [ super value: (group callbackValue: anObject) ]
     ifFalse: [ super value: anObject ]

It doesn't seem too bad at all.

Paolo


More information about the seaside-dev mailing list