Richfaces combobox on selection changed event

走远了吗. 提交于 2019-12-11 01:54:08

问题


I have this code:

<richfaces:comboBox
  value="#{ChoixContratBean.selectedFormule"}
  suggestionValues="#{ChoixContratBean.formules}">

  <a4j:support event="onmouseover"
    action="#{ChoixContratBean.getDescriptionFormule}"
    reRender="reponse" />
</richfaces:comboBox>

I would like that when the user hovers with the mouse the different values in the combo, a new description of the product appears in :

<jsf:outputText
   id="reponse"
   value="#{ChoixContratBean.descriptionFormuleSelected}" />

No event is triggered when the mouse hovers the richfaces combo values; instead, the event that is triggered is the simple mouseover on the combo itself.

What must I to do have the values receive the event trigger?

来源:https://stackoverflow.com/questions/3169661/richfaces-combobox-on-selection-changed-event

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!