Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Browser + JavaScript + Notification Event
Browser + JavaScript + Notification Event [message #565786] Fri, 11 December 2009 03:13 Go to next message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
I have a Browser widget which renders a HTML. The HTML contains a Button and calls a JavaScript when Clicked.

How can the JavaScript notify or invoke Browser widget's method or its Parent's Method.

Thanks,
- Walter
Re: Browser + JavaScript + Notification Event [message #565850 is a reply to message #565786] Fri, 11 December 2009 09:10 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6559
Registered: July 2009
Senior Member
You can inject JS-Functions into the SWT-Browser widget (in 3.5.0) using
BrowserFunction and call it from your JS-Code.

This how the PDE-Editor in e4-0.9 works, so checkout the code there.

Tom

Am 11.12.09 04:13, schrieb Walter:
> I have a Browser widget which renders a HTML. The HTML contains a
> Button and calls a JavaScript when Clicked.
>
> How can the JavaScript notify or invoke Browser widget's method or its
> Parent's Method.
>
> Thanks,
> - Walter
>
Previous Topic:Browser + JavaScript + Notification Event
Next Topic:Single Sourcing ( RCP + RAP ) - File Upload
Goto Forum:
  


Current Time: Tue Jun 02 15:21:49 GMT 2020

Powered by FUDForum. Page generated in 0.05262 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top