ICEfaces
  1. ICEfaces
  2. ICE-7968

JSF variables in <h:head> element not interpreted (and therefore not updated)

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major 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

      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>"

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Holger Stenzhorn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: