Was able to do this by adding this method to my class:
private native DocumentFragment createFragment() /*-{
return $doc.createDocumentFragment();
}-*/;
And defining my own DocumentFragment class:
class DocumentFragment extends com.google.gwt.dom.client.Node {
protected DocumentFragment() {
}
}
Did I miss something or why wasn't this part of the existing API?
Thx.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---