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

Allow to specify the action context document when using "documentAction" widgetType

    XMLWordPrintable

    Details

    • Tags:
    • Sprint:
      nxNag Sprint 7.4.1
    • Story Points:
      3

      Description

      Currently, using such code will use the document bound to the field in the action context used by the action filter but not in the context of the action itself.

      <nxl:widgetType name="documentAction" actionId="driveEdit" value="#{field}" actionContextDocument="#{field}" mode="view" actionsDisplay="icons" />
      

      This prevents to use such a widetType in a document listing for instance.
      This is what we wanted to do for NXP-15433 in https://github.com/nuxeo/nuxeo-jsf/commit/60320dff6a9224df787a9451ecf7696a955524ad, but as it was not working we reverted it.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: