Hi!
I have something like this in my jsf
<h:inputText value="#{replacementItems.searchArt}" size="10"
maxlength="40" />
<h:commandButton value="Suchen"
action="#{replacementItems.searchArtAction}" />
<h:selectOneMenu
value="#{replacementItems.catalog}"
onchange="submit()"
valueChangeListener="#{replacementItems.catalogSelected}">
<f:selectItems value="#{replacementItems.catalogs}" />
</h:selectOneMenu>
As you can see there is a valueChangeListener in my selectOneMenu.
Within my valueChange method I would like to reset the value of my
inputText component.
Also I throw an AbortProcessingException then to avoid another
valueChangeListener to be fired.
Unhappily this doesnt work as it seems the model update is AFTER the
fireing of the valueChangeListeners.
Thus my change will be overwritten by the model update.
Is there a way around it?
I also tried "FacesContext.getCurrentInstance().renderResponse()" but
this also doesnt work as expected.
Thanks!
Mario