We have a rich:comboBox on a JSF page which has a valueChangeListener that calls a backing bean function:
<rich:comboBox id="cbmodel" defaultLabel="${accessUtils.activeRole}" value="${accessUtils.activeRole}"
style="float: right;" valueChangeListener="${accessUtils.valueChangeListener}" >
<c:forEach var="role" items="${accessUtils.currentUserRoles}">
<f:selectItem itemValue="#{role}"/>
<a4j:support event="onchange" ajaxSingle="false" />
</c:forEach>
</rich:comboBox>
And here's the valueChangeListener backing bean function:
public void valueChangeListener(ValueChangeEvent event){
System.out.println("EVENT: HAS BEEN CALLED " + event.getNewValue());
setActiveRole((String) event.getNewValue());
}
How can we get this function to reload the JSF page which has the rich:comboBox?
Thanks for any help.