Thanks for your help Mario, I now understand why my problem has occured.

Alex...




Mario Ivankovits <[EMAIL PROTECTED]> 
19/01/2007 13:44
Please respond to
"MyFaces Discussion" <[email protected]>


To
MyFaces Discussion <[email protected]>
cc

Subject
Re: <t:inputDate>





Hi Alex!
> I have a Drop down list and a valueChangeListener on the drop down
> list which calls setTestDate :-
>
> public void dropDownChanged(ValueChangeEvent event)
> {
>         setTestDate();
A normal ValueChangeEvent will be sent BEFORE the model update. So your
changed date will be reset to the current displayed value.

Use the our sandbox component s:valueChangeNotifier instead. This
component uses the same method signature, but will fire after the model
update so you can do with your beans whatever your would like to and
have the changes reflected in the UI.

Ciao,
Mario




-----------------------------------------
This message (including any files transmitted with it) may contain
confidential and/or proprietary information, is the property of
Interactive Data Corporation and/or its subsidiaries, and is
directed only to the addressee(s). If you are not the designated
recipient or have reason to believe you received this message in
error, please delete this message from your system and notify the
sender immediately.   An unintended recipient's disclosure,
copying, distribution, or use of this message or any attachments is
prohibited and may be unlawful

Reply via email to