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

alloy:dataTable's DataTableRenderer does not declare resource dependencies on alloy.js and alloy.css

    Details

      Description

      {markdown}
      `alloy:dataTable` depends on `alloy.css` for styling and `alloy.js` for row selection and filtering. However, since `DataTableRenderer` does not declare a `@ResourceDependency` for both `alloy.css` and `alloy.js`, `alloy:dataTable` will not be styled correctly and certain features will not function. These issues are only displayed when `alloy:dataTable` is included on a page without other components which include `alloy.css` and `alloy.js` on the page.

      As a *workaround*, `alloy.css` and `alloy.js` can be included where necessary via `alloy:outputScript`:

      <alloy:outputScript library="liferay-faces-alloy" name="alloy.css" target="head" />
      <alloy:outputScript library="liferay-faces-alloy" name="alloy.js" target="head" />{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
                alloy-2.0.0
                alloy-3.0.0