[
https://jira.jboss.org/jira/browse/RF-8139?page=com.atlassian.jira.plugin...
]
D'Alton Jean-Adrien commented on RF-8139:
-----------------------------------------
Hi,
With our files the result is ok, here are the source from chrom, i ve only one title after
the javascript,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="fr"
xmlns="http://www.w3.org/1999/xhtml"><head><link
class="component"
href="/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/basic_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf"
rel="stylesheet" type="text/css" /><link
class="component"
href="/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/extended_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf"
media="rich-extended-skinning" rel="stylesheet"
type="text/css" /><link class="component"
href="/a4j/s/3_3_2.SR1css/page.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf"
rel="stylesheet" type="text/css" /><script
type="text/javascript">window.RICH_FACES_EXTENDED_SKINNING_ON=true;</script><script
src="/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/skinning.js.jsf"
type="text/javascript"></script><style
type="text/css">.rich-page{margin:auto 10px;width:auto;}
.rich-page-body{float:none;width:auto;}
</style>
<title>Page title</title></head><body oncontextmenu="return
false;"><div class="rich-page " id="j_id0"><div
class="rich-page-content " id="j_id0:cnt"><div
class="rich-page-main"><div class="rich-page-body ">
<!-- safari compatibility -->Page body pas de
body</div></div></div></div></body></html>
Impossible to set a title in rich:page with <f:facet
name="pageHeader" >
------------------------------------------------------------------------
Key: RF-8139
URL:
https://jira.jboss.org/jira/browse/RF-8139
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0.SR1
Environment: jboss 4.2.2/jdk1.6/richface 3.2.0sr1
Reporter: D'Alton Jean-Adrien
Assignee: Nick Belaevski
Attachments: pagettitletest.xhtml, rf8139.xhtml, rf8139_page.xhtml,
templatetesttitle.xhtml
It is impossible to set title of a page with facet PageHeader : the generated page
generate 2 titles wich an empty title is in first position:
:
Source of generated page from firefox:
-----------------------------------------------------
<html lang="fr"
xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<title>My title for a page</title>
.....
.xhtml page :
---------------
<rich:page
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j" markupType="xhtml"
contentType="text/html" theme="#{prefs.layout.theme}"
width="#{prefs.layout.width}"
sidebarWidth="#{prefs.layout.sidebarWidth}"
sidebarPosition="#{prefs.layout.position}" oncontextmenu="return
false;" >
<f:view contentType="text/html" > <!-- safari compatibility -->
<f:facet name="pageHeader">
<title><ui:insert name="title" /></title>
</f:facet>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira