Skip to main content

JSF 2.0 - is Ajax broken in latest nightly build ?

5 replies [Last post]
raghosh
Offline
Joined: 2009-04-06

Was trying the editText example (http://weblogs.java.net/blog/driscoll/archive/2008/11/another_jsf_20_1.html) with latest nightly build (https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folder...).

The editLink element is NOT getting re-rendered as it should have been.

In order to debug a little, took a local copy of jsf.js and started referring to that. With little debug messages it appears that the response XML is coming empty and it's failing at "if (xml.firstChild.tagName === "parsererror")" statement (not that it's getting the 'parsererror' tag but xml dom is not valid.)

Any clue ?

- Rajesh

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
lincolnbaxter@gmail.com

Make sure that the render and execute element IDs are space-separated. I think the example might have them comma-separated.
------Original Message------
From: webtier@javadesktop.org
To: webtier@glassfish.dev.java.net
ReplyTo: webtier@glassfish.dev.java.net
Subject: [webtier] JSF 2.0 - is Ajax broken in latest nightly build ?
Sent: Apr 12, 2009 15:40

Was trying the editText example (http://weblogs.java.net/blog/driscoll/archive/2008/11/another_jsf_20_1.html) with latest nightly build (https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folder...).

The editLink element is NOT getting re-rendered as it should have been.

In order to debug a little, took a local copy of jsf.js and started referring to that. With little debug messages it appears that the response XML is coming empty and it's failing at "if (xml.firstChild.tagName === "parsererror")" statement (not that it's getting the 'parsererror' tag but xml dom is not valid.)

Any clue ?

- Rajesh
[Message sent by forum member 'raghosh' (raghosh)]

http://forums.java.net/jive/thread.jspa?messageID=341775

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

Sent from my Verizon Wireless BlackBerry

raghosh
Offline
Joined: 2009-04-06

Yes I verified what you mentioned. I saw all related posts as well. The execute and render elements are indeed space delimited.

Lincoln Baxter, III

Did that solve your issue?

On Tue, 2009-04-14 at 11:26 -0700, webtier@javadesktop.org wrote:

> Yes I verified what you mentioned. I saw all related posts as well. The execute and render elements are indeed space delimited.
> [Message sent by forum member 'raghosh' (raghosh)]
>
> http://forums.java.net/jive/thread.jspa?messageID=342129
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>
[att1.html]

raghosh
Offline
Joined: 2009-04-06

No I couldn't till now.

raghosh
Offline
Joined: 2009-04-06

Any update ?