-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: bridge-impl-3.0.0, bridge-impl-4.0.0
-
Fix Version/s: bridge-impl-3.1.0, bridge-impl-4.1.0
-
Component/s: Liferay Faces Bridge Impl / Demos / Tests
-
Labels:None
{markdown}
Steps to reproduce:
1. In the jsf-applicant-portlet's *`applicant.xhtml`*, add the following:
<alloy:outputScript target="head">
// Note: this will not work on IE. Use Chrome or Firefox to test this.
alert('The script\'s parent element is ' +
document.currentScript.parentElement.tagName);
</alloy:outputScript>
2. Deploy the portlet to Liferay Portal.
3. Navigate to the portlet.
If the bug still exists, the following alert message will appear:
> The script's parent element is DIV
If the bug is fixed, the following alert message will appear:
> The script's parent element is HEAD
This issue will also affect `metal:outputScript`, `metal:outputStylesheet`, and any other components which implement a `target="head"` feature or are designed to be rendered in the `head` section (except `h:outputScript` and `h:outputStylesheet`, those components work correctly). {markdown}
Steps to reproduce:
1. In the jsf-applicant-portlet's *`applicant.xhtml`*, add the following:
<alloy:outputScript target="head">
// Note: this will not work on IE. Use Chrome or Firefox to test this.
alert('The script\'s parent element is ' +
document.currentScript.parentElement.tagName);
</alloy:outputScript>
2. Deploy the portlet to Liferay Portal.
3. Navigate to the portlet.
If the bug still exists, the following alert message will appear:
> The script's parent element is DIV
If the bug is fixed, the following alert message will appear:
> The script's parent element is HEAD
This issue will also affect `metal:outputScript`, `metal:outputStylesheet`, and any other components which implement a `target="head"` feature or are designed to be rendered in the `head` section (except `h:outputScript` and `h:outputStylesheet`, those components work correctly). {markdown}
- is fixed by
-
FACES-2921 Add support for PrimeFaces Mobile RenderKit
-
- Closed
-