18 Jul 13:05
Processing callbacks on scriptaculous forms
From: John Thornborrow <john <at> pinesoft.co.uk>
Subject: Processing callbacks on scriptaculous forms
Newsgroups: gmane.comp.lang.smalltalk.squeak.seaside
Date: 2008-07-18 11:09:10 GMT
Subject: Processing callbacks on scriptaculous forms
Newsgroups: gmane.comp.lang.smalltalk.squeak.seaside
Date: 2008-07-18 11:09:10 GMT
Hello,
I'm getting the "Component not found whilst processing callbacks" error
for a form that is rendered via scriptaculous. Am I missing something?
Root>>initialize
super initialize.
editor := Editor new "Editor just renders a form"
Root>>children
^Array with: editor
Root>>renderContentOn: html
html unorderedList: [
self items do: [:each |
html listItem: [
html anchor
onClick: (html updater
id: #editor;
callback: [:ren | ren render: (editor item: each)]);
with: 'Edit ', item description]]].
html div id: #editor
Thanks,
John.
******************************************************************************************************************************************
This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the
email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the
addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete
it from your system. Although this email and attachments are believed to be free of virus, or any other
defect which might affect any computer or IT system into which they are received and opened, it is the
responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by
Pinesoft for any loss or damage arising in any way from receipt or use thereof. *****************************************************************************************
**************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268
High Street, Waltham Cross, Herts, EN8 7EA
RSS Feed