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

Ajax partial response extension tag is not written when render="@all"

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.1.Final
    • Fix Version/s: 4.3.0.M3
    • Component/s: core
    • Labels:
      None
    • Environment:

      RichFaces 4.3.0-SNAPSHOT

    • Sprint:
      4.3.0.M3 - EDT and AJAX
    • Story Points:
      16
    • Steps to Reproduce:
      Hide

      1. Deploy metamer
      2. open http://localhost:8080/metamer/faces/components/a4jCommandButton/simple.xhtml
      3. Attribute onbeforedomupdate=alert('onbeforedomupdate')
      4. Attribute oncomplete=alert('oncomplete')
      5. Attribute render=@all
      6. Click button
      8. Events are not fired

      Show
      1. Deploy metamer 2. open http://localhost:8080/metamer/faces/components/a4jCommandButton/simple.xhtml 3. Attribute onbeforedomupdate=alert('onbeforedomupdate') 4. Attribute oncomplete=alert('oncomplete') 5. Attribute render=@all 6. Click button 8. Events are not fired

      Description

      • -Partial response extension is not written in f:ajax is one of the causes of RF-12031-
      • Partial response extension is not written if render="@all" (see steps to Reproduce)
        Render all seems a wanted behaviour: ExtendedPartialViewContextImpl.visitActivatorAtRender method

         if (!isRenderAll()) {
                   ...
         
                    if (!Boolean.TRUE.equals(renderAll) && !ids.contains(ALL)) {
                        addImplicitRenderIds(ids, limitRender);
         
                        appendOnbeforedomupdate(onbeforedomupdate);
                        appendOncomplete(oncomplete);
                        setResponseData(responseData);
                    }
                }
        

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lfryc Lukáš Fryč (Inactive)
                  Reporter:
                  tritibo Luca Nardelli
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 days
                    2d
                    Remaining:
                    Remaining Estimate - 2 days
                    2d
                    Logged:
                    Time Spent - Not Specified
                    Not Specified