]
D'Alton Jean-Adrien reopened RF-8139:
-------------------------------------
The problem seem to come from when i have theme="smooth" in the rich:page
definition :
<rich:page
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: