[Seaside] Scriptaculous strangeness
Keith Hodges
keith_hodges at yahoo.co.uk
Mon Sep 17 15:39:18 UTC 2007
Using almost latest seaside and scriptaculou , I am rendering a button
like so:
renderEditorButtonAddOn: html
| addId |
html submitButton
id: (addId := html nextId);
onClick: (self renderUpdaterElement: addId on: html);
callback: [ self add ];
text: '>>'.
The following code works (although there is a fleeting js error)
renderUpdaterElement: eid on: html
(html updater
id: id;
triggerFormElement: eid;
on: #updateEditorOn: of: self;
return: false)
But this code doesnt work
renderUpdaterElement: eid on: html
^ (html updater
id: id;
triggerFormElement: eid;
on: #updateEditorOn: of: self;
return: false)
any ideas why not?
thanks in advance
Keith
p.s. if I replace submitButton with button, I get a minicule-tiny-button
once more.
More information about the seaside
mailing list