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

Improve customization of document actions methods

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.3 GA
    • Fix Version/s: None
    • Component/s: Seam / JSF UI

      Description

      Override "documentActions" seam component (using seam install precedence mechanism) is the only solution to make it possible to, for instance:

      • generate the document name according to custom rules
      • fill the document model properties using seam context variables (event listener before document model creation is not enough because it does not have access to the seam context), before creation form is presented, or after document model is saved to the session (when creaton the document or editing it)

      Plus it seems seam remoting methods do not behave correctly when overriding the seam component, as posted on the ecm mailing list (see http://lists.nuxeo.com/pipermail/ecm/2010-February/008657.html). These methods are useful to select document from tables.

      => An easy solution may be to raise seam events in DocumentActionsBean component to provide hooks in appropriate methods that usually need to be customized.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: