[Seaside] use of list
Paco
francois.tanguy at gmail.com
Thu Mar 9 10:59:39 UTC 2006
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
More information about the Seaside
mailing list