Details
-
Type: Bug
-
Status: Resolved
-
Priority: 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
-
Assignee Priority:P1
-
Support Case References:Support Case #13966 - https://icesoft.my.salesforce.com/5007000001fveMJ
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
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
- blocks
-
ICE-11441 IceFaces 4.2 and 4.3 ignoring content of h:head
- Open
an example