2010-05-20 2 views
1

richfaces를 실험하고 있는데 첫 번째 제안/콤보 상자에서 값을 선택하여 두 번째 제안/자동 콤보 상자를 자동 채우는 문제에 봉착했습니다. UI를 잘 표시하지만, 내가 두 번째 콤보 상자를 변경 아약스 요청을 볼 수 없습니다입니다suggestionbox를 사용하여 Ajax 요청

<h:outputLabel value="Brand:" for="brand" /> 
<rich:comboBox id="brand" selectFirstOnUpdate="false" defaultLabel="Enter some value" valueChangeListener="#{wizardBean.changeProduct}"> 
    <f:selectItems value="#{wizardBean.brandCategory}"/> 
    <a4j:support event="onviewactivated" ajaxSingle="true" reRender="product"/> 
</rich:comboBox> 

<h:outputLabel value="Product:" for="product" /> 
<rich:comboBox id="product" value="#{wizardBean.product}" > 
    <f:selectItems value="#{wizardBean.productList}"/> 
</rich:comboBox> 

:

여기 내 XHMTL의 발췌 한 것입니다.

도와주세요

환호성!

답변