Skip to main content


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 13:51
David Song is currently offline David SongFriend
Messages: 217
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 13:55]

Report message to a moderator

Previous Topic:Using RWP for portlets
Next Topic:Anyone can help me how to get the dom element?
Goto Forum:
  


Current Time: Fri Apr 19 12:29:43 GMT 2024

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

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

Back to the top