Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14199

Fix spurious missing selectAllPanel element to rerender on DAM view

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.8
    • Fix Version/s: 11.2
    • Component/s: DAM, Layouts & Widgets

      Description

      Steps to reproduce:

      • on DAM view, click/unclick the "selectAll" button
      • server side the following logs are shown:
      11:55:54,584 WARN  [AjaxContext] Target component for id nxl_dam_box_listing_ajax_19_selectAll_panel not found
      

      The "select all" label is rendered anyway even if the rerender is modified to not re-render itself (and the id shift should be investigated)

      diff --git a/nuxeo-dam-jsf/src/main/resources/web/nuxeo.war/dam/layouts/dam_layout_box_listing_ajax_template.xhtml b/nuxeo-dam-jsf/src/main/resources/w
      index c5112af..14eebb6 100644
      --- a/nuxeo-dam-jsf/src/main/resources/web/nuxeo.war/dam/layouts/dam_layout_box_listing_ajax_template.xhtml
      +++ b/nuxeo-dam-jsf/src/main/resources/web/nuxeo.war/dam/layouts/dam_layout_box_listing_ajax_template.xhtml
      @@ -29,7 +29,7 @@
                   <a4j:support event="onclick"
                     action="#{documentListingActions.processSelectPage(contentView.name, contentView.selectionListName, documents.selected)}"
                     onclick="javascript:handleAllCheckBoxes(this.form.name, this.checked)"
      -              reRender="#{layout.id}_selectAll_panel, #{formId}_buttons:ajax_selection_buttons" />
      +              reRender="#{formId}_buttons:ajax_selection_buttons" />
                 </h:selectBooleanCheckbox>
               </nxu:set>
             </a4j:outputPanel>
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: