[Seaside] another hitch in the tutorial..

John M p3anoman at gmail.com
Mon Feb 9 13:17:34 UTC 2009


Hello Sergio,
Look at StRoot>>initializeListComponent (about three paragraphs below the
code you posted in the tutorial). Of course, the sortBlock instance variable
needs to been defined for StListComponent as well.as its accessor methods.
Then you need to call this method in StRoot>>initialize

Warm regards
John McKeon

On Sun, Feb 8, 2009 at 7:26 PM, sergio_101 <sergiolist at village-buzz.com>wrote:

> i am step four, and almost have things working..
>
> the part i am having trouble with is:
>
> StListComponent>>#renderContentOn:
>
> renderContentOn: html
>
> html table: [(self sortBlock
>        value: (self filterBlock value: self items))
>        do: [:item | html tableRow: [self renderItemBlock
>                        value: item
>                        value: html]]].
>
>
> no matter what i do, i keep getting the following error:
>
> UndefinedObject(Object)>>doesNotUnderstand: #value:
>
> after this:
>
> [] in StListComponent>>renderContentOn: {[(self sortBlock value: (self
> filterBlock value: self ite...etc...
>
> i think i am out of places to look..
>
> any help would be appreciated ..
>
> thanks!
>
>
> --
> ___
> peace,
> sergio
> www.village-buzz.com
> photographer, journalist, visionary
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090209/3af654b2/attachment.htm


More information about the seaside mailing list