|
Hey all, I know this problem most likely would have been addressed
before but was just wondering if there has been any solution for it? Say you had <t:selectOneMenu value="#{bean.test}" onchange="submit();" valueChangeListener="#{bean.changedMethod}"> <f:selectItem itemValue="a"
itemLabel="a"/> <f:selectItem itemValue="b"
itemLabel="b"/> </t:selectOneMenu> <t:inputText value="#{bean.userName}"
/> <t:outputText " value="#{bean.userName}"
/> and you have
the value change method private userName; //getters and setters for userName public void changedMethod(ValueChangeEvent
event) { userName = "someValue";
FacesContext.getCurrentInstance().renderResponse(); } Just wondering why does the outputText
update but the inputText does not? i.e why does the outputText display “someValue”
and the inputText is still empty? I know if you bind the inputText and
call the setSubmittedValue() you can update the inputText Just wondering if I can get an explanation of why this
problem occurs? |
- Re: inputText not updating from valueChangedListener Matthias Wessendorf
- RE: Re: inputText not updating from valueChanged... David Boyd
- Re: Re: inputText not updating from valueChan... Matthias Wessendorf
- RE: Re: Re: inputText not updating from ... David Boyd
- Re: inputText not updating from value... Jeff Bischoff
- Re: inputText not updating from ... Meghana
- Re: inputText not updating f... Jeff Bischoff
- Re: inputText not updati... Meghana
- Re: inputText not updati... Jeff Bischoff
- inputText not updating from valueChangedListener David Boyd
- Re: inputText not updating from valueChangedL... Mikael Andersson

