Monday, March 5, 2012

Fix or workaround for GWT's incompatibility with XHTML?

This issue is with the GWT-generated bootstrap JavaScript file which uses document.write() to inject the GWT-compiled JavaScript into the host HTML page. This method renders XHTML invalid and therefore prevents further processing of the page.
 
It seems that there is a reliable manual method for rewriting this file to use either insertBefore() or insertAfter() - but I'm not yet sure how easy this would be to automate in our build process. Are there any known fixes or workarounds for this issue yet?
 
There is another thread open on this at:
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/aFYmDrJ54vEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment