Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 82863 invoked from network); 23 Sep 2003 03:33:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Sep 2003 03:33:02 -0000 Received: (qmail 76946 invoked by uid 500); 23 Sep 2003 03:32:24 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 76741 invoked by uid 500); 23 Sep 2003 03:32:23 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 76728 invoked from network); 23 Sep 2003 03:32:23 -0000 Received: from unknown (HELO web12302.mail.yahoo.com) (216.136.173.100) by daedalus.apache.org with SMTP; 23 Sep 2003 03:32:23 -0000 Message-ID: <20030923033233.90777.qmail@web12302.mail.yahoo.com> Received: from [67.66.201.14] by web12302.mail.yahoo.com via HTTP; Mon, 22 Sep 2003 20:32:33 PDT Date: Mon, 22 Sep 2003 20:32:33 -0700 (PDT) From: Varun Garg Subject: Re: Page Title To: Struts Users Mailing List In-Reply-To: <3F6FA5CC.9040005@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I did this. --- "Craig R. McClanahan" wrote: > 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 in each BODY jsp ? > >> > >>Is there any short cut to get the page name and > over ride the main layout title ? > >> > >> > > > >Definitely. > > > >Put this in your header: > > > ><tiles:getAsString name="title"/> > > > >Now, in your tiles-def.xml file, put this: > > > > name="browse.costcenters"> > > > > value="/custom/browse-costcenters.jsp"/> > > > > > > > > > I'm almost embarrassed to ask this :-), but is there > a way to localize > the replacement title? > > Craig McClanahan > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > struts-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > struts-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org