Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13936

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate Issue
    • Affects Version/s: 4.5.0.Final, 4.5.1
    • Fix Version/s: None
    • Component/s: component-selects
    • Labels:
      None

      Description

      Hello Professionals,

      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

        Gliffy Diagrams

          Attachments

          1. packed.js
            478 kB
          2. select.js
            21 kB

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  wish79 Mohammad Weshah
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: