[jboss-user] [JBoss Seam] - Changing another fields value in valueChangeListener

evdelst do-not-reply at jboss.com
Wed Nov 15 10:39:32 EST 2006


Hi,

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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986169#3986169

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986169



More information about the jboss-user mailing list