[jboss-user] [JBoss Seam] - Google Maps and application/xhtml+xml mime type

samdoyle do-not-reply at jboss.com
Fri Aug 3 22:37:31 EDT 2007


So another lovely snag I have hit.

I'm trying to embed a Google Map into some of my seam .xhtml pages which works with IE but not with Firefox. So after some searching I see that IE is not compliant and renders this as straight html while Firefox will parse it as xhtml.

The problem is that the Google Map JavaScript API uses document.write extensively which is a no no with xhtml. How can I get around this using Seam and/or Facelets?

I have tried changing the mime types in both the head of the xhtml files as well as having it served up from my web server as that type. Both don't appear to have any impact.

Thanks, S.D.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070832#4070832

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070832



More information about the jboss-user mailing list