|RAP Protocol question [message #1229393]
||Thu, 09 January 2014 05:59
| Martin Tauber
Registered: July 2009
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
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!
Powered by FUDForum
. Page generated in 0.03976 seconds