Return-Path: Delivered-To: apmail-tiles-users-archive@minotaur.apache.org Received: (qmail 61888 invoked from network); 14 Mar 2011 17:04:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Mar 2011 17:04:51 -0000 Received: (qmail 186 invoked by uid 500); 14 Mar 2011 17:04:51 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 112 invoked by uid 500); 14 Mar 2011 17:04:50 -0000 Mailing-List: contact users-help@tiles.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tiles.apache.org Delivered-To: mailing list users@tiles.apache.org Delivered-To: moderator for users@tiles.apache.org Received: (qmail 35568 invoked by uid 99); 13 Mar 2011 18:57:14 -0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tigana.fluens@gmail.com designates 209.85.212.170 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=BUAofG+3Zt6vyl0jeU/SuhU4F983BlKWF6/8At0Gavo=; b=aLqBKBjQ/OnP401GfPbJ/g4sMUTLYhLoDHOIy7If2ZcmBdfKnUuxOw9oA2gv38RmzV KXRETu+1tVxMY2f+Ic8i0JDvDQlOgEMxwIy85lrTIC/mIjYK9o2CDPWzBUxreK0dBtVQ Y9+NfxF/TM1aP2rnpsylOWLaOeNrDouucSBWI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=D1vPsTFclg0Qc/9+ZXRfktXwighKW75EyvvLCQ8VNfFYzDare4RPMx+ZadABVM0G4I O2+wBWEoYqSP5E4bCcVoGLbouoDqct6Afr8x92a58BLufMaaBWWOTaEHpa5o0gCc4QzQ ja1c8WF53jzGz3KJnj8g+WGA0PeJW3iF/t+0g= Message-ID: <4D7D135F.1090908@gmail.com> Date: Mon, 14 Mar 2011 02:56:31 +0800 From: tigana.fluens@gmail.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: users@tiles.apache.org Subject: Overriding attributes at runtime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi all, I am using Spring MVC and I have to so something really simple but I cant figure out what to do. I have a "title" attribute that i use in my layout page, how do I set the value of the "title" attribute dynamically? I would want to use a variable returned from the controller as my title lets say my model is a Person and I would like to use that person's name as my title. I assume Im gonna do runtime overriding on the child template itself but how? I can imagine this is really simple but I've tried my best but I'm confused. Regards,