ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-554

Html tags in the h:head are not rendered under websphere 8.0.0.8

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: EE-4.1.0.GA
    • Fix Version/s: EE-4.2.0.GA
    • Component/s: Release
    • Labels:
      None
    • Environment:
      ICEfaces-EE 4.1.0.GA
      Build number: 6
      Build date: 160615
      Revision: 45185

      Mojarra 2.2.13

      WebSphere Platform 8.0.0.8

      Java version = 1.6.0, Java Compiler = j9jit26, Java VM name = IBM J9 VM

      Description

      Hi,
      html tags are removed from h:head after rendering. This occurs on Websphere with IceFaces EE 4.1.0.
      Example (from your auction.war sample):

      <h:head>
          <title id="title"><ui:insert name="title"/></title>
          <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
          <h:outputStylesheet library="css" name="demo_template.css"/>
          <h:outputStylesheet library="css" name="auction_styles.css"/>
          <link href="./resources/images/favicon.ico" rel="shortcut icon" type="image/x-icon"/>
          <link href="./resources/images/favicon.ico" rel="icon" type="image/x-icon"/>
      </h:head>

      this produces:

      <head id="j_idt2">
          <link type="text/css" rel="stylesheet" href="/vkm/javax.faces.resource/core.css.jsf?ln=ice.core&v=4_1_0_160615"></link>
          <link type="text/css" rel="stylesheet" href="/vkm/javax.faces.resource/demo_template.css.jsf?ln=css&v=4_1_0_160615"></link>
          <link type="text/css" rel="stylesheet" href="/vkm/javax.faces.resource/auction_styles.css.jsf?ln=css&v=4_1_0_160615"></link>
          <script type="text/javascript" src="/vkm/javax.faces.resource/jsf.js.jsf?ln=javax.faces&v=4_1_0_160615"></script>
          <script type="text/javascript" src="/vkm/javax.faces.resource/bridge-support.js.jsf?ln=ice.core&v=4_1_0_160615"></script>
          <script type="text/javascript" src="/vkm/javax.faces.resource/icepush.js.jsf?ln=ice.push&v=4_1_0_160615"></script>
          <script type="text/javascript" src="/vkm/javax.faces.resource/bridge.js.jsf?ln=ice.core&v=4_1_0_160615"></script>
          <script type="text/javascript" src="/vkm/javax.faces.resource/mobi.js.jsf?ln=ice.push.ee&v=4_1_0_160615"></script>
          <script type="text/javascript" src="/vkm/javax.faces.resource/head-update-test.js.jsf?ln=ice.core&v=4_1_0_160615"></script>
      </head>


      Title, meta and link tag are removed !!!

      PS. This not happens wiht a IceFaces 4.1.0 open source.

      Thank you.
      Maciej Apelgrim





        Issue Links

          Activity

          Maciej Apelgrim created issue -
          Hide
          Maciej Apelgrim added a comment -

          an example

          Show
          Maciej Apelgrim added a comment - an example
          Maciej Apelgrim made changes -
          Field Original Value New Value
          Attachment process_designer.ear [ 22395 ]
          Ken Fyten made changes -
          Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
          Assignee Priority P1 [ 10010 ]
          Component/s Release [ 10036 ]
          Arran Mccullough made changes -
          Support Case References Support Case #13966 - https://icesoft.my.salesforce.com/5007000001fveMJ
          Hide
          Mircea Toma added a comment - - edited

          This issue is most probaly caused by the classloading of Websphere portal specific libraries. When they are classloaded our code will assume that the application runs in a portal environemnt. That is when the elements contained by the head are removed (see ICE-11042 why we have this behaviour).

          I would recommend to the customer to verify what libraries are loaded by Websphere. Not loading the portal specific libraries should fix this issue.

          Show
          Mircea Toma added a comment - - edited This issue is most probaly caused by the classloading of Websphere portal specific libraries. When they are classloaded our code will assume that the application runs in a portal environemnt. That is when the elements contained by the head are removed (see ICE-11042 why we have this behaviour). I would recommend to the customer to verify what libraries are loaded by Websphere. Not loading the portal specific libraries should fix this issue.
          Ken Fyten made changes -
          Fix Version/s EE-4.2.0.GA [ 13075 ]
          Hide
          Mircea Toma added a comment -

          Customer seems to be satisfied with our recommandation.

          Show
          Mircea Toma added a comment - Customer seems to be satisfied with our recommandation.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          Ken Fyten added a comment -

          Resolving as Invalid since this was a configuration issue.

          Show
          Ken Fyten added a comment - Resolving as Invalid since this was a configuration issue.
          Ken Fyten made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Invalid [ 6 ]
          Keith Garry Boyce made changes -
          Link This issue blocks ICE-11441 [ ICE-11441 ]

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Maciej Apelgrim
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: