Invoke a JavaScript method

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Invoke a JavaScript method

Postby ishtein » Wed Aug 19, 2009 9:56 am

I am looking for a way to invoke a JavaScript method in an existing HTML markup. Here is my scenario:

I created a page with an HTML widget on a panel. I have some JavaScript code that I need to execute when the page is loaded. My initial plan was to inclulde a JavaScript handler for HTML body onLoad event (part of the widget's HTML), but the handler never executes. I need a way to invoke a method in JavaScript, through an event or directly from the generated code. Please advise - thanks!
Posts: 2
Joined: Mon Aug 17, 2009 11:16 am

Re: Invoke a JavaScript method

Postby Eric Clayberg » Wed Aug 19, 2009 10:47 am

General GWT usage questions should be directed to Google's GWT forum.

This forum is specifically for GWT Designer related issues.
Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest