RAP Protocol question [message #1229393] |
Thu, 09 January 2014 05:59  |
Eclipse User |
|
|
|
Mayby someone could shed some light on this. I'm trying to embedd dhtmlx
charts as RAP Widgets. It does not seam to work for the folllowing reason:
1.) I've created the factory method to create the a "<div
id="whatever"/> html node which is added to the Rap parent element
passed to the constructor.
2.) Doing so seams not to add the created div object into the body of
the document. when I call a method to find the "whatever" id object in
the DOM it returns null. And this needs to be done to initialize the chart.
So I guess my question basically is: When is the DOM build? Can I force
it to be build?
I tryed to work around the problem by building my own init function
which is called from java after the creation of the object. But this did
not help. Debugging the javascript showed that the DOM is again not
build (including the created div in the body).
My next question would be. It seams that the rap protocol piggy bags
calls - or am I totally confused now - What is the trigger to for rap to
communicate with the client?
Any help appreciated!
Regards
Martin
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04486 seconds