[Seaside] Method formatting no longer works properly

Philippe Marschall philippe.marschall at gmail.com
Tue Feb 15 07:12:23 UTC 2011


2011/2/15 Fritz Schenk <intrader.intrader at gmail.com>:
> After loading latests configuration.
> The comment format(r) is strangely converting
> <prior to format>
> renderContentOn: html
>    html anchor
>        callback: [ self addContact ];
>        with: 'Add contact'.
>    "bad dessign to refer to MyContact class directly; better to add model
> instance variable"
>    html unorderedList: [
>        MyContact contacts do: [ :contact |
>        html listItem: [ self renderContact: contact on: html ] ] ]
> </prior to format>
> <after format>
> renderContentOn: html
>        (html anchor)
>                callback: [ self addContact ];
>                with: 'Add contact'.    "bad design to refer to MyContact class
>  directly; better to add model instance variable"
> html unorderedList: [ MyContact contacts do: [ :contact | html listItem:
>  [ self renderContact: contact on: html ] ] ]
> </after format>
> I don't understand:
> 1. the parenthesis use around (html anchor).
> 2. the comment position
> 3. the one one starting with html unorderedList is not formatted at all.
>
> My current version is
> Pharo 1.1.1
> Latest update #11414

This should be reported against Pharo:
http://pharo-project.org/community

Cheers
Philippe


More information about the seaside mailing list