Figured it out. The & in the column headers was causing msxml to choke. I
wrapped the table HTML in CDATA tags and all seems to be working. Below is the
essence of the steps I took:
...
someSelect.addBehavior(new JQBehavior(JQEvent.CHANGE) {
@Override
public ActionResult onAction(Control source, JQEvent event) {
return updateSomeSelect();
}
});
...
private ActionResult updateSomeSelect() {
JQTaconite actionResult = new JQTaconite();
table.onProcess();
StringBuilder sb = new StringBuilder();
sb.append("<![CDATA[");
sb.append(table.toString());
sb.append("]]>");
// get rid of the pagebanner and links, if there
actionResult.remove(".pagebanner");
actionResult.remove(".pagelinks");
// replace the table, the pagebanner and links will be included if
configured
actionResult.replace(table, sb.toString());
return actionResult;
}
Thanks,
John
-----Original Message-----
From: Kuhns, John [mailto:[email protected]]
Sent: Thursday, June 14, 2012 11:30 AM
To: [email protected]
Subject: RE: jQuery-Click IE9 Parsing request failed
Actually, no, this is the example:
http://click-jquery.appspot.com/ajax/table-demo.htm
I need the jQuery-Click, I want to populate the table via Ajax on a select
change, then be able to sort and page with Ajax, too. I've tried a few things
with no luck so far, I'll keep trying.
Thanks,
John
-----Original Message-----
From: Kuhns, John [mailto:[email protected]]
Sent: Thursday, June 14, 2012 10:58 AM
To: [email protected]
Subject: RE: jQuery-Click IE9 Parsing request failed
Hmmm, it works for me too. As I paged through the table yesterday it was
throwing up the same parseerror message and then paging. I'll research it more
and see if I can find the real problem.
-----Original Message-----
From: Bob Schellink [mailto:[email protected]]
Sent: Thursday, June 14, 2012 10:39 AM
To: [email protected]
Subject: Re: jQuery-Click IE9 Parsing request failed
You mean this example?
http://click.avoka.com/click-examples/ajax/table/table-ajax.htm
Works for me in IE9 though?
regards
Bob
On 14/06/2012 15:51 PM, Kuhns, John wrote:
> Right, a click table, and I'm in standards mode:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
>
> Quirks mode isn't an option. Interestingly enough, the same error occurs on
> the example page in IE9, but the action completes afterwards.
>
> Thanks,
> John
>
> -----Original Message-----
> From: Bob Schellink [mailto:[email protected]]
> Sent: Thursday, June 14, 2012 8:37 AM
> To: [email protected]
> Subject: Re: jQuery-Click IE9 Parsing request failed
>
> Hi John,
>
> Attachments are stripped from these lists. Is it a Click table you are
> returning and rendering or your own HTML table?
>
> I recall tables has to have a tbody element. Also check if you are rendering
> in standards mode or quirks mode.
>
> regards
>
> Bob
>
> On Thu, Jun 14, 2012 at 1:43 PM, Kuhns, John<[email protected]> wrote:
>> I'm attempting to use the jQuery-Click add in and am getting this error on
>> rendering a table in IE9, everything works fine in other browsers.
>>
>> I've found a few references around the web, mostly dealing with Content-Type
>> and special characters, but I'm banging my head against the wall and hope
>> someone out there has a work around....
>>
>> Thanks,
>> John