{Spam?} Re: [Seaside] Some thoughts and cs to improve Seaside

Yar Hwee Boon hboon at motionobj.com
Sun Nov 28 13:18:00 CET 2004


On Sun, 28 Nov 2004 12:44:27 +0100, stephane ducasse  
<stephane.ducasse at free.fr> wrote:

> In
> WAStoreFillCart>>displayItems: aCollection
> | list |
> aCollection size = 1 ifTrue: [^ self displayItem: aCollection first].
> list := WABatchSelection
>  items: aCollection
>  link: #title
>  text: #subtitle.
> [self displayItem: (main call: list)] repeat
> I do not understand the repeat.

It says #displayItem: the item chosen (from list). And do this repeatedly,  
ie. display the list allowing an item to be chosen.

> batch renderContentOn: html]

should use #renderOn:.

> my domain objects have accents in its string representation
> and I do not know how from the model object I can specify that the
> text should be encoded.

do you mean #text: vs. #html:?

-- 
Regards
HweeBoon
MotionObj


More information about the Seaside mailing list