|
Generating a text and anchor in a list item with canvas API like #list:do: : msg#00127lang.smalltalk.squeak.seaside
Is there a way go generate lists with items that allows a block to control what is rendered for each item? For eg. Item 1 (delete), where "Item 1" and delete are 2 separate anchors? ie. with the old API: renderContentOn: html html list: #(1 2 3) do: [:v | html anchorWithAction: [self edit: v] do: [html text: 'Item ', v displayString]. html text: ' ('. html anchorWithAction: [self delete: v] do: [html text: 'delete']. html text: ')'] Thanks. -- Hwee Boon http://motionobj.com/ MotionObj (65) 6764-9774 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: File downloads etc: 00127, Janko Mivšek |
|---|---|
| Next by Date: | Re: Generating a text and anchor in a list item with canvas API like #list:do: used to: 00127, Yar Hwee Boon |
| Previous by Thread: | File downloads etci: 00127, goran |
| Next by Thread: | Re: Generating a text and anchor in a list item with canvas API like #list:do: used to: 00127, Yar Hwee Boon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |