Return-Path: X-Original-To: apmail-tiles-users-archive@minotaur.apache.org Delivered-To: apmail-tiles-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D2409184 for ; Mon, 23 Jan 2012 12:40:43 +0000 (UTC) Received: (qmail 2045 invoked by uid 500); 23 Jan 2012 12:40:42 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 2027 invoked by uid 500); 23 Jan 2012 12:40:42 -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 Received: (qmail 2019 invoked by uid 99); 23 Jan 2012 12:40:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 12:40:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of antonio.petrelli@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-qw0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 12:40:35 +0000 Received: by qadb17 with SMTP id b17so1671172qad.11 for ; Mon, 23 Jan 2012 04:40:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qHHZoG/o6P9PDqMXceFoblTgeWtfzoxKfwqH6SptP0w=; b=lkBNWNlZNIN5HrsIEJtSIX+7RqZFvbhmOT8zfqychWR9+ZNfTkbW9E9UY0OHbHzC39 o+u9rZuBI7iZCqNcl/RQ8dzJie68nA/th7Nm7t5iBHZ5hHd0Mm1zrdvW72vQhY6p+vkA Le9QH2LFWZ5gnATJBgdbhNHl99Qo+hvGu5ROY= MIME-Version: 1.0 Received: by 10.224.205.199 with SMTP id fr7mr4914955qab.65.1327322414715; Mon, 23 Jan 2012 04:40:14 -0800 (PST) Received: by 10.229.114.85 with HTTP; Mon, 23 Jan 2012 04:40:14 -0800 (PST) In-Reply-To: <06C76EF5-B168-4A2F-B99B-35272D68B579@gmail.com> References: <5C3ABDE0-8367-48C6-8034-94A10CF8BBA4@gmail.com> <06C76EF5-B168-4A2F-B99B-35272D68B579@gmail.com> Date: Mon, 23 Jan 2012 13:40:14 +0100 Message-ID: Subject: Re: change content in one Tile for one page only? From: Antonio Petrelli To: users@tiles.apache.org Content-Type: multipart/alternative; boundary=20cf300faaf108112804b731559f --20cf300faaf108112804b731559f Content-Type: text/plain; charset=ISO-8859-1 2012/1/23 MiB > So I'd like to be able to change 1 above to other values per the current > view for the script attribute "src" or omit it totally and also in 2 above > change the attribute value "id" in the body element. I suppose I could make > an alternative tile and swap the this for the views where I need this, but > then I'd need one for every page, which seems over the top and clumsy. > You can use Tiles attributes even as simple value holders. In your case, think about having a list of scripts to load. In your template page do: