[Seaside] Chaining problem

an organic seasidebeginner at gmail.com
Sun Dec 30 10:49:11 UTC 2007

can anybody please explain me this example:

in init i make:
left := OrderedCollection new.
left add: nil -> 'Eukaryota'.
left add: 'Eukaryota' -> 'Opisthokonts'.

and then in another method:
(self perform: #left) do: [ :item | ...]

it's ok, but if i change init to
left := OrderedCollection new add: nil -> 'Eukaryota'; add: 'Eukaryota' ->

and then i call
(self perform: #left) do: [ :item | ...]
i get error

i thought both init are equivalent

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20071230/eee1446a/attachment.htm

More information about the seaside mailing list