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

aui:script tag ignores position="inline" attribute

    Details

      Description

      Expicit value for postion attribute of aui:script tag is ignored in most cases. The error is in file ScriptRenderer.java, lines 61-63:

      if (themeDisplay != null) {
         inline = (themeDisplay.isIsolated() || themeDisplay.isStateExclusive());
      }
      

      This code rewrites previous value settled in inline field from position attribute.

      As a possible fix followind code can be used (lines 61-63):

      if (themeDisplay != null) {
         inline |= (themeDisplay.isIsolated() || themeDisplay.isStateExclusive());
      }
      

        Attachments

          Activity

            People

            Assignee:
            neil.griffin Neil Griffin
            Reporter:
            iastafyev Ivan A. Astafyev (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                liferay-faces-2.1.2-ga3
                liferay-faces-3.0.2-ga3
                liferay-faces-3.1.2-ga3