[Seaside] Using Magritte Reports in Seaside

Lukas Renggli renggli at gmail.com
Wed Apr 25 05:16:56 UTC 2007


> UserComponent>>report
>  ^ report
>  ifNil: [report := MAReport
>  rows: self class users
>  description: (User description
>  select: [:each | #(#userName #firstName #lastName ) includes: each accessor
> selector]).
>  report addColumn: (MACommandColumn new addCommandOn: self selector: #view:;
>  yourself)]

You should close the bracket on the last line before the #yourself, not after.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list