[Seaside] generating dynamic id:#name for component inside a table

Gilles Schtickzelle gschtick at gmail.com
Sat Nov 20 12:15:06 UTC 2010


Hello,

I have a table built like this

html table: [
   collection1 do: [ :x |
           html tableRow: [ collection2 do: [:y |
                 html tableData: [ html checkBox
                                                id: #checkBoxName
                                                .....] ] ] ] ]

What I'd like is to have a different #checkBoxName for each so I can set one
depending of the function of the other with a ((html jQuery:
#checkBoxNameXY) attributeAt: 'checked' put: (html jQuery this attributeAt:
'disabled')) or something like it.

How should I proceed to achieve this?

Thanks
Gilles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20101120/7eaf6049/attachment.htm


More information about the seaside mailing list