[jboss-user] [JBoss Seam] - Re: External AJAX access to webremote?

whafrog do-not-reply at jboss.com
Fri Dec 14 18:08:59 EST 2007

For those interested, Seam appears to be using the XmlHttpRequest.responseXML property, but this triggers a Firefox/javascript/security problem, in that you aren't allowed to access the XML version of the data you're requesting.

You can, however, get the raw text, do your own reparsing, and play as you please:

// hack, since Firefox won't allow access to responseXML
  | var xmlDoc = (new DOMParser()).parseFromString(xmlHttpRequest.responseText, "text/xml");

Perhaps the Seam remoting libraries should incorporate this...

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

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

More information about the jboss-user mailing list