ValueChanged Event
It seems the value changed event fires only when the form is posted. I have a requirement to invoke the valuechange event when user select one item from dropdown list. Is there any way to achieve this? It works When I add the following line on jsf:
onChange="this.form.submit();"
But i am not sure if it is a good solution ....... Any help on this will be appreciated.
-TT
[398 byte] By [
titona] at [2007-10-3 2:33:50]

Hello,You have to use OnChange = "submit()" to kick off the value change listener.Without JSF also, if you want to post back, then you would have done the same.
Don't worry, you're right on track. It's different calling onChange="submit()" and clicking on the commandLink/commandButton on your form.
Could you please post the pertinent JSP form code, and the method that gets executed when the valueChangeEvent gets fired (i.e. the valueChangeListener in your managed-bean)?
From there we should be able to tell you exactly how to set up.
CowKing
PS - Keep in mind that JSF is a server-side technology and that nothing can happen until a submit takes place.