[Seaside] Re: Processing callbacks on scriptaculous forms
itsme213
itsme213 at hotmail.com
Fri Jul 18 15:10:36 UTC 2008
I'm guessing here, but it may be related to
http://www.nabble.com/Ajax-callback-question%3A-how-to-update-component-tree-before--children-gets-called--to15350231.html#a15359902
To me this was a surprising limitation on Ajax usage in 2.8. I'm holding my
fingers crossed that 2.9 has this solved but have not seen anything
definitive about it.
http://www.nabble.com/WAPresenter%3E%3EprocessCallbackStream%3A-aCallbackStream-to16691453.html#a17084726
Sophie
"John Thornborrow" <john at pinesoft.co.uk> wrote in message
news:488079D6.7020501 at pinesoft.co.uk...
> 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
More information about the seaside
mailing list