[Seaside] use of list
Paco
francois.tanguy at gmail.com
Thu Mar 9 11:39:39 UTC 2006
Merci, it works !
Bany, Michel a écrit :
> Salut Paco,
>
> Try something like this.
>
> html unorderedList:
> [html listItem: [html anchorWithAction: [Smalltalk beep] text: 'Accueil'].
> ....
> ].
>
>
>
>> -----Original Message-----
>> From: seaside-bounces at lists.squeakfoundation.org
>> [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Paco
>> Sent: Thursday, March 09, 2006 12:00 PM
>> To: seaside at lists.squeakfoundation.org
>> Subject: [Seaside] use of list
>>
>> Hello everybody,
>>
>> I am a new user to seaside application so be indulgent with
>> me please !
>> I manage to get a list of string but I can't get a list of link.
>>
>> Here is an exemple :
>>
>> aCollection := OrderedCollection new.
>> aCollection add: 'Accueil'.
>> aCollection add: 'Curriculum Vitae'.
>> aCollection add: 'Mes réalisations'.
>> html list: aCollection.
>> That's working.
>>
>> aCollection := OrderedCollection new.
>> aCollection add: [html anchorWithAction: [Smalltalk beep] text:
>> 'Accueil'.].
>> aCollection add: [html anchorWithAction: [Smalltalk beep] text:
>> 'Curriculum Vitae'.].
>> aCollection add: [html anchorWithAction: [Smalltalk beep]
>> text: 'Mes réalisations'.]."
>> html list: aCollection.
>> That's not working and by looking at the source code it
>> seems normal that this is not the good way to make it.
>>
>> How to do it ?
>>
>> Paco
>> _______________________________________________
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
More information about the Seaside
mailing list