4 Replies Latest reply on Dec 14, 2014 6:12 AM by Mohammad Weshah

    a4j:status with rich:select problem (Richfaces 4.5.0)

    Mohammad Weshah Novice

      Hello Professionals,

      I have just upgrade to Richfaces 4.5.0 ,My environment :

      - Richfaces 4.5

      - java 1.7.0.60

      - WildFly Server 8.2 Final (JSF 2.2.8)


      i have a sample screen :


      <h:form id="testForm">

       

        <rich:select>

        <a4j:ajax event="selectitem" execute="@this" />

        </rich:select>

       

        <a4j:status onstart="alert('1')"         onstop="alert('2')" />

       

        </h:form>

       

      as you see the screen contains an empty select and event that let the a4j:status fire .

       

      - the problem is the onstart="alert('1')"  fire but the system hang after that and onstop="alert('2')"  dose not fire .

      - this happen just with rich:select when the values list is empty .

       

      to avoid this problem i have to add an empty <f:selectitem/> inside <rich:select/> , again the a4j:status work correct with all richfaces component expect this case with rich:select

       

      Regards

      Wish79