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

CommandLinks cause Single Page Application (SennaJS) navigation in Liferay 7

    Details

      Description

      {markdown}
      In Liferay 7, `<a>` tags are automatically converted to SennaJS/SPA navigation links. However, `commandLink`s are designed to execute javascript or submit forms and execute actions. `commandLink`s may navigate, but they must use the JSF post-redirect-get pattern rather than SennaJS/SPA GET navigation. But in Liferay 7 `commandLink`s execute both the JSF actions and SennaJS/SPA navigation.

      Steps to reproduce:

      1. Deploy the alloy-showcase to Liferay 7 and navigate to the `alloy:dataList` Selection example.
      2. Click the Compatible `alloy:commandLink`.

      If the bug still exists, the dialog will pop up and then SennaJS/SPA navigation will occur reloading the portlet. So the dialog will be hidden again.{markdown}

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann (Inactive)
              Reporter:
              kyle.stiemann Kyle Stiemann (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                bridge-ext-5.0.0