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

Passthrough attributes not rendered in <head> section on Liferay

    Details

      Description

      {markdown}
      Steps to reproduce (on Liferay 7):

      1. Add the following to *`styling.xhtml`* in the jsf-applicant-portlet:

      <link jsf:library="example" jsf:name="test.css" data-senna-track="permanent" />

      2. Create a file called *`test.css`* under *`WEB-INF/resources/examples`*:

      body.yui3-skin-sam { background-color: red; }

      3. Deploy and navigate to the jsf-applicant-portlet. The background should appear red.
      4. Navigate away from the portlet via SPA (by clicking on the "Welcome" or "primefaces-applicant" link).

      If the bug still exists, the background will no longer be red after the SPA navigation. This is due to the fact that the `data-senna-track="permanent"` passthrough attribute is not rendered on the *`test.css`* `<link>` element. Instead the default `data-senna-track="temporary"` attribute will be rendered on the *`test.css`* `<link>` element. If the bug is fixed, the background will stay red after SPA navigation, and the `<head>` section will contain the *`test.css`* `<link>` element with `data-senna-track="permanent"` in the jsf-applicant-portlet.{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:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                bridge-ext-3.0.0
                bridge-ext-5.0.0