Also, Does this happen independently from browsers or dependently from browsers? cos that is serious.
-- So getHTML return value based on the Browser or based on the Gwt mechanism?
On Monday, April 7, 2014 1:24:42 AM UTC+10, Tom wrote:
On Monday, April 7, 2014 1:24:42 AM UTC+10, Tom wrote:
I don't understand how Gwt
setHTML & getHTMLwork. It doesn't seem to be consistent.Let see this example:
myInlineHtml.setHTML(SafeHtmlUtils. fromSafeConstant("<table><tr>< td>Test</td></tr></table>")); System.out.println( myInlineHtml.getHTML()); Output:
"<table><tbody><tr><td>Test</td></tr></tbody></table>" Clearly when we set the html for
myInlineHtmlwe don't have<tbody></tbody>, but when wegetHTMLfrommyInlineHtmlthen Gwt include<tbody></tbody>.Why that's happen cos it can cause the
confusedwhen you want to get Html value & u thought it has the same value I the time we set it but it hasn't?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment