0
ajax와 함께 selectmanymenu 태그를 사용하고 있지만 listner가 호출되지 않습니다. 동일한 코드가 event = "change"없이 selectonemenu에서 작동했습니다. 내가 잘못selectmanymenu가 작동하지 않는 ajax
를하고있는 중이 야 경우 여기를
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<h:head>
</h:head>
<h:body>
<h:form>
<h:selectManyMenu id="dropDownValue"
value="#{loginBean.dropDownValue}" style="height:100px; width:100px;">
<f:selectItem itemValue="****select***" />
<f:selectItems value="#{loginBean.testDropDown}" />
<f:ajax render="testDropDownTwo"
listener="#{loginBean.changeDropDownOne}" event="change" />
</h:selectManyMenu>
<h:selectManyMenu id="testDropDownTwo"
value="#{loginBean.dropDownTwoValue}"
style="height:100px; width:100px;">
<f:selectItem itemValue="****select***" />
<f:selectItems value="#{loginBean.testDropDownTwo}" />
</h:selectManyMenu>
</h:form>
</h:body>
</html>