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

Workflow task form control are not double click shielded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8-SNAPSHOT
    • Fix Version/s: 5.8
    • Component/s: Layouts & Widgets, Workflow

      Description

      The template task_layout_with_actions_widget.xhtml uses h:commandLink to submit the form associated to the current workflow step.

      This is wrong because of the way jsf commandLink submits a form. The h:commandLink renders a classic html "a" link with some custom jsf javascript, bound to the click event, that obscurely submits the form in a dirty way. When submitting it does not even fire submit event on the form submitted.

      h:commandLink should be used instead.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: