Hi all,
I have a problem in my model panel page ,My combobox is not firing valuechangelistener???How to resolve this problem?
<rich:comboBox id="cbxnewpaymethodField" value="#{editAccountInfoBean.cbxSubscriptionType}"
listClass="myClass" selectFirstOnUpdate="false" required="true" enableManualInput="false"
defaultLabel="#{msg.defaultLabel}" directInputSuggestions="true" valueChangeListener="# {editAccountInfoBean.optionSelectedComboBox}">
<f:selectItems value="#{listBoxBean.selectSubscriptionTypeList}"/>
<a4j:support event="onchange" limitToList="true" ajaxSingle="true" eventsQueue="fooQueue" id="ajaxSuppID"
reRender="packEnterpriseID,packretailID,panelenter,panelretail">
</a4j:support>
</rich:comboBox>
Bean:
public void optionSelectedComboBox(ValueChangeEvent event)
{
log.info("Calling into optionSelectedComboBox...");
UIComboBox component = (UIComboBox)event.getComponent();
log.info("1:"+component.getValue());
log.info("2:"+component.getSubmittedValue().toString());
log.info("3:"+component.getId());
}
In the top of the model panel i have <a4j:keepAlive beanName = "editAccountInfoBean"/> but it is not firing why????
1) add rich:messages to the page.
2) check that forms not nested in modal panel and outside.