我有这个代码:
<richfaces:comboBox
value="#{ChoixContratBean.selectedFormule"}
suggestionValues="#{ChoixContratBean.formules}">
<a4j:support event="onmouseover"
action="#{ChoixContratBean.getDescriptionFormule}"
reRender="reponse" />
</richfaces:comboBox>
我希望当用户将鼠标悬停在组合中的不同值时,产品的新描述会出现在:
<jsf:outputText
id="reponse"
value="#{ChoixContratBean.descriptionFormuleSelected}" />
鼠标悬停在richfaces组合值时不会触发任何事件;相反,触发的事件是组合本身上的简单鼠标悬停。
我必须做什么才能让值接收事件触发器?