webtier@glassfish.java.net

Re: [webtier] JSF2.0 Ajax not work properly

From: <lincolnbaxter_at_gmail.com>
Date: Fri, 17 Jul 2009 19:40:19 +0000

I've noticed behavior like this as well in the snapshots but haven't been able to create a simple example to reproduce it yet.

Sometimes the back end values are never updated. Sometimes the valuechangelisteners don't trigger. Its very strange.

Working on condensing a reproducable example...
------Original Message------
From: webtier_at_javadesktop.org
To: webtier_at_glassfish.dev.java.net
ReplyTo: webtier_at_glassfish.dev.java.net
Subject: [webtier] JSF2.0 Ajax not work properly
Sent: Jul 17, 2009 14:57

The ajax for drop down list is working fine in PR2. However, it not working well in Beta version.

I changed the Ajax call code (some differences between PR2 and Beta) in jsp/xhtml page, and clear all browser data.

The two drop down list, country and state. If I first select USA for example. it nothing happen. then, I select Canada this time it shows Canada provinces with the option number of USA states, some empty options were listed in the end.
Then, I select USA again, it show up USA state, but the option number is the Canada province number, the rest of states are cut off.

Is it a bug?
[Message sent by forum member 'huangdp' (huangdp)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net



Sent from my Verizon Wireless BlackBerry