[Seaside] generating dynamic id:#name for component inside a table
Philippe Marschall
philippe.marschall at gmail.com
Sun Nov 21 14:28:37 UTC 2010
2010/11/20 Gilles Schtickzelle <gschtick at gmail.com>:
> 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?
html nextId
should give you an id.
Cheers
Philippe
More information about the seaside
mailing list