This content has been marked as final.
Show 6 replies
-
1. Re: Using ui:insert for title in rich:page
nbelaevski Sep 3, 2009 9:18 PM (in response to pdpantages)Hi PdP,
Can you please try the following:<f:facet name="pageHeader"> <h:panelGroup><title><ui:insert name="page_title">This window needs a title!</ui:insert></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="#{theme.css}" rel="stylesheet" type="text/css" /> <link href="#{theme.alarm}" rel="stylesheet" type="text/css" /></h:panelGroup> </f:facet>
? -
2. Re: Using ui:insert for title in rich:page
pdpantages Sep 3, 2009 9:40 PM (in response to pdpantages)Hello Nick,
Thanks for suggestion; I would not have thought to try this. Unfortunately, it did not work for me. Cut and paste exactly what I have below.<f:facet name="pageHeader"> <h:panelGroup> <title><ui:insert name="page_title">This window needs a title!</ui:insert></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="#{theme.css}" rel="stylesheet" type="text/css" /> <link href="#{theme.alarm}" rel="stylesheet" type="text/css" /> </h:panelGroup> </f:facet>
PdP -
3. Re: Using ui:insert for title in rich:page
ilya_shaikovsky Sep 4, 2009 4:08 AM (in response to pdpantages)could you try with 3.3.2 CR1 because of https://jira.jboss.org/jira/browse/RF-7249
-
4. Re: Using ui:insert for title in rich:page
pdpantages Sep 9, 2009 3:44 PM (in response to pdpantages)Hello Ilya, I will try the CR at some point, (when I get some time).
For now, we have to make do with 3.3.1.
I wil post results when I get to it.
PdP -
5. Re: Using ui:insert for title in rich:page
nbelaevski Sep 9, 2009 7:39 PM (in response to pdpantages)This won't work because two TITLE tags are generated. Use "pageTitle" attribute.
-
6. Re: Using ui:insert for title in rich:page
pdpantages Sep 9, 2009 7:42 PM (in response to pdpantages)Yes, I kind of thought it was something like that.
I don't think I can use ui:insert with pageTitle=xxx. I will just bail on rich:page for now...
Thanks, PDP