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

Make it easier to support form in fancy box content opened by an action

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5
    • Fix Version/s: 5.7.1
    • Component/s: Seam / JSF UI

      Description

      Since NXP-9089, we can easily add actions that will open a fancy box when clicking on them.
      Issue here is to display submittable components (forms, with buttons, etc...) in the fancy box content.

      When using a simple include, potential forms in the fancy box content will not work correctly since they will be inside another form: the one around actions, and nested forms are not supported by JSF (and would produce an invalid DOM anyway).

      An alternative would be to use an iframe instead of an include in this case, but the iframe needs to handle closing of the fancy box, reload of the parent frame, etc... (note that a simple include may need to handle that too).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - Not Specified Time Not Required
                  Not Specified