[Seaside] Re: live callback issue again
Klaus D. Witzel
klaus.witzel at cobss.com
Fri Oct 27 15:09:15 UTC 2006
Hi Joseph,
great (sorry ;-) and thank you for posting the debug output!
Ron: in the case below it's "eval(elem.childNodes[0].data);" which can
only succeed when onLoad would've done its job (which I doubt). Are we on
the right track, I think so.
Joseph: Ron + my are working on a similiar problem in FireFox (IE works),
will let you know what comes out.
/Klaus
On Fri, 27 Oct 2006 16:50:43 +0200, Joseph Blatter wrote:
> i think there is something wrong with live callbacks.
> if i test the following in Opera 9.01, nothing happens
> (note the "self error:" inside the block):
>
> aRenderer select
> list: #(1 2 3 4 5);
> selected: 2;
> labels: [:ea | ea printString ];
> liveCallback: [:anIndex :h |
> self error: 'An Error'.
> selection := anIndex.
> h span id: 'sel'; with: 'Value selected= ' ,
> selection displayString
> ].
>
>
> This fails only in Opera (i've cleaned all caches),
> not in Firefox or IE, so I've enabled all JavaScript
> debug options under Tools -> Advanced tab, and this is
> the output.
>
> JavaScript - http://192.168.10.12:9090/seaside/ToTest
> Unknown thread
> Error:
> name: TypeError
> message: Statement on line 91: Could not convert
> undefined or null to object
> Backtrace:
> Line 91 of linked script
> http://192.168.10.12:9090/seaside/ToTest?_s=XwRmalDSjjSPeOoI
> eval(elem.childNodes[0].data);
> At unknown location
> [statement source code not available]
> JavaScript - http://192.168.10.12:9090/seaside/ToTest
> Unknown thread
> Error:
> name: TypeError
> message: Statement on line 91: Could not convert
> undefined or null to object
> Backtrace:
> Line 91 of linked script
> http://192.168.10.12:9090/seaside/ToTest?_s=XwRmalDSjjSPeOoI
> eval(elem.childNodes[0].data);
> At unknown location
> [statement source code not available]
> JavaScript - http://192.168.10.12:9090/seaside/ToTest
> Unknown thread
> Error:
> name: TypeError
> message: Statement on line 91: Could not convert
> undefined or null to object
> Backtrace:
> Line 91 of linked script
> http://192.168.10.12:9090/seaside/ToTest?_s=uSvdMEmpigfTZgGl
> eval(elem.childNodes[0].data);
> At unknown location
> [statement source code not available]
> JavaScript - http://192.168.10.12:9090/seaside/ToTest
> Unknown thread
> Error:
> name: TypeError
> message: Statement on line 91: Could not convert
> undefined or null to object
> Backtrace:
> Line 91 of linked script
> http://192.168.10.12:9090/seaside/ToTest?_s=uSvdMEmpigfTZgGl
> eval(elem.childNodes[0].data);
> At unknown location
> [statement source code not available]
>
> maybe my previous e-mail wasn't clear enough. perhaps
> i'm doing something wrong since nobody confirmed this
> issue.
> cheers
>
>
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam
> ¡gratis!
> Regístrate ya - http://correo.espanol.yahoo.com/
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> Regístrate ya - http://correo.espanol.yahoo.com/
More information about the Seaside
mailing list