webtier@glassfish.java.net

Why does a valueChangeListener cause a commandButton to be clicked twice?

From: <webtier_at_javadesktop.org>
Date: Tue, 26 Aug 2008 12:29:43 PDT

I have a page with a backing bean in session scope. When I add a valueChangeListener to the page, the user has to click the commandButton twice to run the actionListener.

Why does adding a valueChangeListener cause a commandButton to be clicked twice in order to run the actionListener?

Is there a better way or a way to solve this?

Thanks,

--Todd
[Message sent by forum member 'jtp51' (jtp51)]

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