[ https://jira.jboss.org/jira/browse/RF-7249?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#action_12422051 ]
Andrey Markhel logged work on RF-7249: -------------------------------------- Author: Andrey Markhel Created on: 04/Jun/09 11:46 AM Start Date: 02/Jun/09 11:45 AM Worklog Time Spent: 6 hours Work Description: Done Issue Time Tracking ------------------- Remaining Estimate: 0 minutes Time Spent: 6 hours > rich:page dynamic pageTitle impossible with facelets page template and > <title><ui:insert name="title" /></title> > ---------------------------------------------------------------------------------------------------------------- > > Key: RF-7249 > URL: https://jira.jboss.org/jira/browse/RF-7249 > Project: RichFaces > Issue Type: Bug > Components: component-panels-layout-themes > Affects Versions: 3.3.1 > Environment: Jboss4.2.2/jdk6/richfaces 3.3.1 > Reporter: Adrien > Assignee: Andrey Markhel > Fix For: 3.3.2.CR1 > > Time Spent: 6 hours > Remaining Estimate: 0 minutes > > Impossible to user <ui:insert name="title" /></title> with rich:page, title > is generated twice, first page rich:page (empty) second py <f:facet > name="pageHeader">. > Maybe a solution if titlePage is not define in rich:page, then it will be not > generated, then the title generated in <f:facet name="pageHeader"> is used. > >>> > http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232920#4232920 > I m just start to migrate my application to use rich:page. > I have a page templating with facelets, title is a dynamic value for the > template. > Before i used : > Code: > <title><ui:insert name="title" /></title> > to insert title page. > Code: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:f="http://java.sun.com/jsf/core" > xmlns:h="http://java.sun.com/jsf/html" > xmlns:rich="http://richfaces.org/rich" > xmlns:a4j="http://richfaces.org/a4j" > xmlns:ui="http://java.sun.com/jsf/facelets" > > > > <head> > <title><ui:insert name="title" /></title> > <ui:insert name="keywords" /> > <ui:insert name="description" /> > <ui:include src="/WEB-INF/jspf/commons/metaspublic.xhtml" /> > </head> > But with rich:page it s seem to be impossible to use ui:insert for pageTitle > like that: > Code: > <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}" > > > <f:view contentType="text/html" > <!-- safari compatibility --> > > <f:facet name="pageHeader"> > <h:panelGroup> > <title><ui:insert name="title" /></title> > <ui:insert name="keywords" /> > <ui:insert name="description" /> > <ui:include src="/WEB-INF/jspf/commons/metaspublic.xhtml" /> > <script type="text/javascript" > src="/pub/javascript/norightbutton.js"></script> > </h:panelGroup> > </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 _______________________________________________ richfaces-issues mailing list richfaces-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/richfaces-issues