I used <a4j:support> for <t:selectOneMenu>, got XML parsing error for a4j response.
The following is the response XML with matched elements removed for clarity. The two // before <![CDATA[ is not valid XML element. What might be the cause? How to work around this?
I am using JBoss 4.0.5 and MyFaces 1.5 and tomahawk 1.7.
Thanks for help.
Dave
<?xml version="1.0"?>
//<![CDATA[ function getScrolling()
{
var x = 0; var y = 0;if (self.pageXOffset || self.pageYOffset)
{ x = self.pageXOffset;
y = self.pageYOffset; }
else if ((document.documentElement && document.documentElement.scrollLeft)||
(document.documentElement && document.documentElement.scrollTop))
{
x = document.documentElement.scrollLeft;
y = document.documentElement.scrollTop; }
else if (document.body) {
x = document.body.scrollLeft;
y = document.body.scrollTop; }
return x + "," + y; } ////]]>
error[13:31:08,982]: Error parsing XML
error[13:31:08,982]: Parse Error: Document is empty
could you please also show us the page, and specify RF version?
Check that you've using latest official stable build 3.1.3 GA :)