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/ _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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/ _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
>I just moved my application to the latest version of Seaside on VW 7.4.1.
I >was using an older version from around June or so. My app starts in the >browser okay, but if I click on anything (even links in the tools frame) it >immediately takes me to the readme.html page. I'm baffled. :-/ Okay, I reloaded everything again (Seaside and my application code) and now it works fine. The only thing I did differently is that this time I used seaside (the default) as the name of my Seaside installation. The first time I named it after my application. I don't know if that had anything to do with it, but maybe? -Carl Gundel, author of Liberty BASIC http://www.libertybasic.com _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |