Setting the page title from a tile

2003-09-25 Thread Matt Raible
I have an interesting problem that I can't figure out how to solve. We are using Tiles, as well as a custom tag library that renders content from Velocity Templates. These templates have HTML content in them, but they're mostly text - and this is our CMS (for now). The problem is is that

Re: Setting the page title from a tile

2003-09-25 Thread Srinivas Gunturu
Matt, We have solved this in our application by defining our tile as follows definition name=baseDef path=/Template.jsp put name=title value=My Title1 / put name=header value=/header.jsp/ put name=topnav value=/topnav.jsp/ put name=leftnav

RE: Setting the page title from a tile

2003-09-25 Thread Holman, Cal
tiles:importAttribute name=title/ titlebean:message name=title scope=page//title Additionally to pass the tile name for menus to use I define a bean in the definition name to the request tiles:useAttribute id=defname name=defname scope=request/ Cal http://www.calandva.com/Last update 08/01/03

RE: Setting the page title from a tile

2003-09-25 Thread Matt Raible
Mailing List Subject: RE: Setting the page title from a tile I do something a little different to pull the title out of application.properties definition name=whatsnew.pagedef extends=home.pagedef put name=title value=whatsnew.title / put name=content

Re: Page Title

2003-09-22 Thread Raj Atchutuni
How do i assign different title for each page using tiles. Following is my tile layout which has title My Site Name. And it has Header, Side Menu, BODY, Footer. Should i have title/title in each BODY jsp ? Is there any short cut to get the page name and over ride the main layout title ?

Re: Page Title

2003-09-22 Thread Bryce Fischer
How do i assign different title for each page using tiles. Following is my tile layout which has title My Site Name. And it has Header, Side Menu, BODY, Footer. Should i have title/title in each BODY jsp ? Is there any short cut to get the page name and over ride the main layout title ?

Re: Page Title

2003-09-22 Thread Craig R. McClanahan
Bryce Fischer wrote: How do i assign different title for each page using tiles. Following is my tile layout which has title My Site Name. And it has Header, Side Menu, BODY, Footer. Should i have title/title in each BODY jsp ? Is there any short cut to get the page name and over ride the main

Re: Page Title

2003-09-22 Thread khote
[EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 22, 2003 6:45 PM Subject: Re: Page Title Bryce Fischer wrote: How do i assign different title for each page using tiles. Following is my tile layout which has title My Site Name. And it has Header, Side Menu

Re: Page Title

2003-09-22 Thread Jason Lea
=page.xyz.key type=String/ Then you can use this to write out the localised page title in the JSP page: tiles:importAttribute name=title/ bean:message name=title/ Craig McClanahan - To unsubscribe, e-mail: [EMAIL

Re: Page Title

2003-09-22 Thread Varun Garg
I did this. definition extends=default.layout name=browse.costcenters put name=title value=broswe.customers/ put name=body-content value=/custom/browse-costcenters.jsp/ /definition tiles:useAttribute name=title id=titlee classname=java.lang.String/ bean:message