This content has been marked as final.
Show 2 replies
-
1. Re: Having two fields of which only one should be used at a
ilya_shaikovsky Nov 17, 2009 7:14 AM (in response to zdenek.zikan)check ajax support page at richfaces-demo. second tab labeled dynamic selects.
-
2. Re: Having two fields of which only one should be used at a
zdenek.zikan Nov 17, 2009 7:59 AM (in response to zdenek.zikan)Thanks for reply. You mean I should use the valueChangeListener which is used there? The problem is that if I put valueChangeListener to both entityId input box:
<h:inputText ... valueChangeListener="#{dataUpdateBean.idChanged}"/>
and selectedTypeId drop down menu:<h:selectOneMenu ... valueChangeListener="#{dataUpdateBean.typeChanged}">
then both of them are called even if I change just one of them. I select different entity type and idChanged and then typeChanged are called. If I change entity id, the same happens.