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

Fix ajax rerendering of chain select tag

    XMLWordPrintable

    Details

      Description

      In Nuxeo DAM, the standard coverage and subjects widgets don't behave correctly with AJAX rendering, when editing and saving an asset: the widget in view mode do not display the new selected value in edit mode.

      For the coverage widget, the value in view mode is displayed with:

      <c:if test="#{nxl:isLikeViewMode(widget.mode)}">
      
        <nxdir:chainSelect id="#{widget.id}_viewselect" size="2" value="#{field}"
          displayValueOnly="true">
          <nxdir:chainSelectListbox index="0" size="0" directoryName="continent"
            localize="true" id="#{widget.id}_continent" displayObsoleteEntries="true" />
          <nxdir:chainSelectListbox size="0" directoryName="country" index="1"
            localize="true" id="#{widget.id}_country" displayObsoleteEntries="true" />
          <nxdir:chainSelectStatus display="value" id="#{widget.id}_status" />
        </nxdir:chainSelect>
      
      </c:if>
      

      Also, when user clicks on the "Clear filter" link displayed on top of the advanced search results, it empties all the fields except for the subjects and coverage fields. However the search results displayed correspond to a empty filter (all documents are found).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.