2 Replies Latest reply on Aug 9, 2007 2:45 PM by Sheldon s

    weird problem with Firefox, contentType, Seam 2.0

    Sheldon s Newbie

      I just upgraded my app to Seam 2.0 from Seam 1.2.1. The UI in firefox is now pretty badly broken. I have mixed javascript with jstl to dynamically generate javascript through a loop. Now the same code is fine in IE, but broken in Firefox. What is weird is that when I saved the source to the same webapp directory, renamed it to *.html, then the page shows up fine in firefox. I read elsewhere JSF1.2 will set contentType to application/xhtml+xml instead of text/html. Could contentType be the cause of the problem? What would be a workaround for this?

      Can I overwrite the contentType from JSF1.2 to reset back to text/html?

      Thanks.