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

Make message banner usable in several places in the same page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4.1
    • Component/s: None

      Description

      When using the same message banner on several components of the page, they need to be isolated correctly so that JSF component ids are not dupplicated (see fixes for NXP-6227).
      However, when several messages appear, the javascript code that hides the message after a few seconds only has an effect on the first one found.

      Improving the javascript code could be enough, but it would be better to set a unique div id when including the message banner template, that would default to an empty string.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: