|
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}" >
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? |
- inputText not updating from valueChangedListener David Boyd
- Re: inputText not updating from valueChangedListe... Matthias Wessendorf
- RE: Re: inputText not updating from valueCha... David Boyd
- Re: Re: inputText not updating from value... Matthias Wessendorf
- RE: Re: Re: inputText not updating f... David Boyd
- Re: inputText not updating from ... Jeff Bischoff
- Re: inputText not updating f... Meghana
- Re: inputText not updati... Jeff Bischoff
- Re: inputText not updati... Meghana
- Re: inputText not updati... Jeff Bischoff
- inputText not updating from valueChangedListener David Boyd

