Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-44969

Multiple instances of form-navigator unusable on same page

    Details

      Description

      <liferay-ui:form-navigator> is rendered defunct when multiple instances are added to the same page.

      It was originally discovered while combining <liferay-ui:tabs> and many form navigators (one per tab).

      The issue is caused by the non-unique IDs, links and history items generated by page.jsp (in portal-web/docroot/html/taglib/ui/form_navigator). Since it simply prepends <portlet:namespace /> (or namespace), these are the same across the instances. Thus, only the first instance works properly, others display all their folded sections concatenated.

      Please note that not all occurrences of the portlet namespace can be replaced. Request parameters and form names still require portlet namespace rather than a random ID.

        Attachments

          Activity

            People

            Assignee:
            jozsef.illes József Illés (Inactive)
            Reporter:
            jozsef.illes József Illés (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:
              Days since last comment:
              6 years, 36 weeks, 6 days ago

                Packages

                Version Package
                6.2.10 EE GA1