[Seaside] live callback issue again

Joseph Blatter josephblatter62 at yahoo.com
Fri Oct 27 14:50:43 UTC 2006


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