This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSF and the fly likes f:ajax calls causing malformedXML error in IE9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "f:ajax calls causing malformedXML error in IE9" Watch "f:ajax calls causing malformedXML error in IE9" New topic
Author

f:ajax calls causing malformedXML error in IE9

Matt Kohanek
Village Idiot
Ranch Hand

Joined: Apr 04, 2009
Posts: 483

edit - seems the answer to most of my question is found here if it helps anyone else:

http://java.net/jira/browse/JAVASERVERFACES-2063

I will mark this resolved for now until I have had a chance to try and implement this solution


Hey all

First off, I am pretty sure I have not posted this question here yet, though I am not 100% certain, so I apologize if this is duplicated.

Anyway, I am using a <f:ajax> tag to call some code and render different error panels (and one form) as needed. here is the jsf:

And here is the resulting html:

That anchor tag should also have the following, but for some reason it will not display correctly on the forum:

When I click this button, I get the following pop up in IE9 (not 8, or even IE9 compatibility mode)
malformedXML: Unable to get value of the property 'removeChild': object is null or undefined.

The bean method triggers correctly. The rendering of the error panel even works.
Anyone out there who can help with this? No one seems to have much of an idea about what to do so far :/


edit - I even simplified the command link and ajax tag to the bare minimum, to rule out all I could, and this still occurs. Is this just a problem with IE? I can't imagine that is it, but I have the bare minimum (as far as I know) and it still triggers that popup:



If I go ahead and remove the renders= attribute, the error does not occur. So when it tries to render has soemthign to do with the root cause of the trouble here.


True wisdom is in knowing you know nothing - Socrates
 
GeeCON Prague 2014
 
subject: f:ajax calls causing malformedXML error in IE9