I am stuck with JSF's ValueChangeListener......Can anyone help me out of it? I have a combo box (h:selectOneMenu) for which I used valuechangelistener to get to know whenever user changes the value and selects new option. Here is the code:
Now my method specified in valuechangelistener has following implementation:
The problem is when I change the option and click submit button then it valuechangelistener works and on the console it shows the new option selected but I also have onclick event on submit which opens the new window for which URL comes from the bean. But the roblem is it takes the old value from combo box even though it shows it has changed.What could be the reason?
Does it has to do something with Phases of JSF?
But I have written in the code that for 'ANY_PHASE' it will update the value. But it still gives me the same problem.
Please help me!!!
Thanks in advance
[ August 21, 2007: Message edited by: Amol Chavan ] [ August 21, 2007: Message edited by: Amol Chavan ]
Thanks n Regards,<br />Amol
posted 8 years ago
did you ever update this formaccessorbean.formURL value?