[Seaside] Links list
Jaroslav Cmunt
jcmunt at gmail.com
Wed Apr 12 18:46:03 UTC 2006
Hi all,
I am learning seaside and I am stuck with this code:
html table id: 'conceptslist'; with: [
html tableRow class: 'header'; with: [
html tableData with: [ html text: 'Title' ]].
self blogModel concepts do: [ :ea |
html tableRow with: [
html tableData with: [
html anchor
onClick: (html ajax
id: ('concept',ea id asString);
callback: [ :r | self editConcept: ea on: r ]);
with: ea title.
html div id: ('concept',ea id asString) ]]]]
No matter what I try, when I click any of the rendered links,
editConcept:on: is called with last member of concepts collection.
When I was using normal callback (not scriptaculous stuff), everything
worked.
Thanks,
Jaroslav Cmunt
More information about the Seaside
mailing list