Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Anyone can help me how to get the dom element?(#03091456 chart223.render() Error >> Unable to find the container DOM element)
Anyone can help me how to get the dom element? [message #769663] Thu, 22 December 2011 08:51
Song David is currently offline Song David
Messages: 186
Registered: April 2011
Senior Member
Hi all:
I created a post why does the document.getElementById(this._id) return null? below, but nobody give me a reply! Obviously the customwidget is created, and then I try to find the dom to write a html code into it, but I get a null value.

I invoke the custome widget like this:


CustomWidget cw = new CustomWidget(parent);
cw.setChatData(...);



but when I test it, I get a null error:

#03091456 chart223.render() Error >> Unable to find the container DOM element.

But the dom element exists obviously (it can be found through firebug in Firefox )



Anyone can help me please? Thank you very much

David

[Updated on: Thu, 22 December 2011 08:55]

Report message to a moderator

Previous Topic:Deployment Tool Problem
Next Topic:Anyone can help me how to get the dom element?
Goto Forum:
  


Current Time: Tue Jul 29 23:04:01 EDT 2014

Powered by FUDForum. Page generated in 0.20637 seconds