Re: xpcom and javascript

2007-12-13 Thread Marco Pesenti Gritti
On Dec 13, 2007 11:13 AM, Christian Reichlin <[EMAIL PROTECTED]> wrote: > i just like to call javascript functions in general. > i checked in an example: > > http://dev.laptop.org/git?p=projects/comic-maker;a=blob_plain;f=comicmakeractivity.py;hb=HEAD > Give a try to web_view.evaluate_script('hell

Re: xpcom and javascript

2007-12-13 Thread Christian Reichlin
i just like to call javascript functions in general. i checked in an example: http://dev.laptop.org/git?p=projects/comic-maker;a=blob_plain;f=comicmakeractivity.py;hb=HEAD Marco Pesenti Gritti schrieb: > On Dec 13, 2007 9:39 AM, Christian Reichlin <[EMAIL PROTECTED]> wrote: > >> hi, >> >> i'

Re: xpcom and javascript

2007-12-13 Thread Tomeu Vizoso
On Thu, 2007-12-13 at 09:39 +0100, Christian Reichlin wrote: > hi, > > i'm trying to make an activity out of a javascript application. i load > the page into a hulahop webview-widget and i can access the dom with > xpcom to save the state to the journal. for restoring the state i need > to call

Re: xpcom and javascript

2007-12-13 Thread Marco Pesenti Gritti
On Dec 13, 2007 9:39 AM, Christian Reichlin <[EMAIL PROTECTED]> wrote: > hi, > > i'm trying to make an activity out of a javascript application. i load > the page into a hulahop webview-widget and i can access the dom with > xpcom to save the state to the journal. for restoring the state i need > t

xpcom and javascript

2007-12-13 Thread Christian Reichlin
hi, i'm trying to make an activity out of a javascript application. i load the page into a hulahop webview-widget and i can access the dom with xpcom to save the state to the journal. for restoring the state i need to call a javascript function and i wasn't able to figure out how to do this. i