Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.0.1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Tomcat 7.0.26, Mojarra 2.1.7
-
ICEsoft Forum Reference:
Description
It seems that JSF variables within the <h:head> element are not interpreted (and therefore not updated) using ICEfaces 3.0.1 with Mojarra 2.1.7.
In my page I have
<h:head>
<title>#{title}</title>
</h:head>
where the "title" variable is always dynamically set and its value always correctly displayed (and thus updated) within the <h:body> element.
When using ICEfaces 3.0.0 with Mojarra 2.1.7 I did use the following "hack" workaround that actually worked:
<h:head>
<script>document.title = "#{title}"</script>
</h:head>
But even this workaround does not work anymore using ICEfaces 3.0.1 with Mojarra 2.1.7. So it seems that the variable "title" is now not updated anymore within the <h:head> element.
For the sake of completeness, I further tried
<h:head>
<title><h:outputText value="#{title}"/></title>
</h:head>
which resulted in "<span id="_t60">INITIAL VALUE</span>" and then
<h:head>
<title><ice:outputText value="#{title}"/></title>
</h:head>
which resulted in "<span class="iceOutTxt" id="_t60">INITIAL VALUE</span>"
In my page I have
<h:head>
<title>#{title}</title>
</h:head>
where the "title" variable is always dynamically set and its value always correctly displayed (and thus updated) within the <h:body> element.
When using ICEfaces 3.0.0 with Mojarra 2.1.7 I did use the following "hack" workaround that actually worked:
<h:head>
<script>document.title = "#{title}"</script>
</h:head>
But even this workaround does not work anymore using ICEfaces 3.0.1 with Mojarra 2.1.7. So it seems that the variable "title" is now not updated anymore within the <h:head> element.
For the sake of completeness, I further tried
<h:head>
<title><h:outputText value="#{title}"/></title>
</h:head>
which resulted in "<span id="_t60">INITIAL VALUE</span>" and then
<h:head>
<title><ice:outputText value="#{title}"/></title>
</h:head>
which resulted in "<span class="iceOutTxt" id="_t60">INITIAL VALUE</span>"
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion