0 Replies Latest reply on Nov 15, 2006 10:39 AM by Edwin van der Elst

    Changing another fields value in valueChangeListener

    Edwin van der Elst Newbie


      I have a (facelet) application using seam 1.0.1GA.
      On a screen I have a h:selectOneMenu with a valueChangeListener. In the onchange I call 'submit()'.
      My java method is being called. I want to change the value of another field. When I try this by changing the property of the outjected-bean that is being editted, I still see the old value.
      I tried ' Context.removeFromAllContexts("beanname") to try to force a new outjected value, but it doesn't work.
      Also, it doesn't matter if I add imediate="true" to the selectOneMenu.

      Anyone know a solution for this?

      Edwin van der Elst