7 Replies Latest reply on Feb 11, 2008 12:18 PM by schinni

    Unable to make Ajax4JSF work (using NetBeans 6)

    schinni

      Hi,

      I am trying to integrate RichFaces into a Netbeans Visual Web JSF application. I tried using the following in my jsp code but it seems like the event is not triggered. The action method is never entered into.

      <webuijsf:listbox binding="#{Bean.lstTest1}" id="lstTest1"
       items="#{Bean.lstAvailableDefaultOptions.options}" rows="8"
       selected="#{Bean.selectedItem}"
       valueChangeListenerExpression="#{Bean.lstTest1_processValueChange}">
       <a4j:support action="#{Bean.lstTest1_action}" event="onchange"
       reRender="lstTest1,lstTest2"/>
       </webuijsf:listbox>


      I have also tried it with a textbox:

      <webuijsf:textField binding="#{Bean.textField1}" id="textField1" >
       <a4j:support action="#{Bean.lstTest1_action}" event="onkeyup"
       reRender="lstTest1,lstTest2"/>
       </webuijsf:textField>


      Thank you for the help!