Description
If you include a value for the 'errorName' parameter of the XTile component then it generates JavaScript like this:
(for example errorName='handleError')
requestObject.onreadystatechange = function() {
if (requestObject.readyState == 4) {
if (requestObject.status == 200)
else if ("handleSearchError" = "") // THIS IS THE BAD LINE
handleError(requestObject);
}
}
It should probably generate just 'else functionName(requestObject)'
See line 56 of file XTile.script in org.apache.tapestry.contrib.ajax