Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.2.0.GA
-
Fix Version/s: EE-3.3.0.GA
-
Component/s: Core Extensions
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Salesforce Case Reference:
-
Workaround Exists:Yes
-
Workaround Description:In the case for the link tag, the ice:outputStyle or h:outputStylesheet tags can be used.
Description
With the following context parameter set:
<context-param>
<param-name>javax.faces.FACELETS_DECORATORS</param-name>
<param-value>com.icesoft.facelets.HtmlTagDecorator</param-value>
</context-param>
The EL expression in the following code is not rendered:
<link rel="stylesheet" type="text/css"
href="#{facesContext.externalContext.requestContextPath}/css/style.css" ></link>
The following is what the tag gets rendered as:
<link rel="stylesheet" type="text/css" />
<context-param>
<param-name>javax.faces.FACELETS_DECORATORS</param-name>
<param-value>com.icesoft.facelets.HtmlTagDecorator</param-value>
</context-param>
The EL expression in the following code is not rendered:
<link rel="stylesheet" type="text/css"
href="#{facesContext.externalContext.requestContextPath}/css/style.css" ></link>
The following is what the tag gets rendered as:
<link rel="stylesheet" type="text/css" />
Attached test case that shows issue. Upon load of the page, look at the rendered source.