Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3656

Primefaces: Datatable / ColumnToggler Problem

    Details

      Description

      In our portlet we're using Primefaces' datatable widget to display a simple list of records. The column toggler is configured so the user is able to customize the visibility of the columns.

      After the user within the organizational site /group/companyname clicks on a simple link to return to the user's private page /group/guest, somehow the column toggler fields are shown in the top left corner.

      Reproducer
      Create a liferay private page /group/guest and an organizational site /group/companyname with one page. The organizational site's page contains the primefaces portlet. The Link "Zurück" in the organizational site redirects to the user's private page /group/guest

      Environment:

      PF Version: 11.0.0
      PF Theme: Default
      JSF + version: Mojarra 2.2.20
      Affected browsers: All
      Liferay 7.4-ga13

      To Reproduce
      Steps to reproduce the behavior:

      Configure a liferay 7.4-ga13 environment
      Create a Primefaces Portlet using the https://faces.liferay.dev/ toolbox
      Create a liferay "private page" and an "organizational" site with one page and a "Zurück" Link
      Insert the Primefaces Portlet into the organizational site's "first" page.
      Klick on "Zurück"
      See error

      If you remove the column toggler, no problems occur at all. The column togglers code as follows

      ... <p:columnToggler datasource="schutzrechte" trigger="toggler"> <p:ajax event="toggle" listener="#

      {schutzrechteHelper.onColumnToggle}

      " update=":form:msgs"/> </p:columnToggler> ...

      Expected behavior
      No residues of the column togglers entries are shown.

        Attachments

          Activity

            People

            Assignee:
            neil.griffin Neil Griffin
            Reporter:
            it-technik Thomas von Haugwitz
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package