This content has been marked as final.
Show 2 replies
-
1. Re: How to add page title individually
v.lukoyanov Nov 3, 2010 8:01 AM (in response to maruthyshetty)If I understand correctly <ui:param> tag should do what you want.
E.g,in main template define:
<head> .... <ui:insert name="head"/> </head>
in the login template:
<ui:composition xmlns="http://www.w3.org/1999/xhtml" then on login template:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://jboss.com/products/seam/taglib" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" xmlns:a="http://richfaces.org/a4j" template="layout/template.xhtml"> <ui:define name="head"> <ui:define name="head"> <title>Login page</title> </ui:define>
And so on in the other templates...
--------
-
2. Re: How to add page title individually
maruthyshetty Nov 4, 2010 9:58 AM (in response to maruthyshetty)Thanks for reply Vasilii L.
I have one main template and this template can be used in all the modules which i have
My question is how do i get page title dynamically
For Example: i have modules like Module-1 , Module-2 , Module-3
if i am using Module-1 pages, i want page title should be dynamically changed based on the page action
Example:if that is an Add page then title should be 'Add Page similarly 'View Page' , 'List Page'.......Thanks and Regards
Maruthy