Return-Path: Delivered-To: apmail-tiles-users-archive@minotaur.apache.org Received: (qmail 18570 invoked from network); 29 Oct 2009 11:43:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Oct 2009 11:43:26 -0000 Received: (qmail 12848 invoked by uid 500); 29 Oct 2009 11:43:26 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 12807 invoked by uid 500); 29 Oct 2009 11:43:26 -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 12797 invoked by uid 99); 29 Oct 2009 11:43:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 11:43:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of antonio.petrelli@gmail.com designates 209.85.218.219 as permitted sender) Received: from [209.85.218.219] (HELO mail-bw0-f219.google.com) (209.85.218.219) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 11:43:18 +0000 Received: by bwz19 with SMTP id 19so2307541bwz.8 for ; Thu, 29 Oct 2009 04:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Fy+qVymQ8JpKimbEEKs/M8XgaTN2k36pOpPLXwJt0HA=; b=xHhQbzhDz02HIX7HZH24okkURdKLWIr4UWpshF5EFMEYmPxldbW9qlnN7KPdUgDM55 RcDBeNxAkla+7IHHZ45JQP570eoV6KbfBNjYycug9FZNH3qciVNRzgamCdw00PvXFm52 jg+AUCwwPYISetQ9ZZCSVVwmTzq52lYe0unac= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ACbxtFhOtbo2KbvEPAXQRphviALAdxydQZAWBzc5v02JTfkhPTfY9ZevbfOCwsojEj UF4p2mxY6FxUSQ/V/us0QOKs7r36N63sHfVV9XA96A0/2RC63/mUENVjG8+rRHsR5JyY yfGmkEW2NnD9aGNWyWAfXIh0foEvwmBPnYW2s= MIME-Version: 1.0 Received: by 10.204.154.142 with SMTP id o14mr4174651bkw.125.1256816577921; Thu, 29 Oct 2009 04:42:57 -0700 (PDT) In-Reply-To: References: Date: Thu, 29 Oct 2009 12:42:57 +0100 Message-ID: Subject: Re: Preparing Data for Tiles when used with Spring From: Antonio Petrelli To: users@tiles.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2009/10/29 anyz : > Thanks a lot. Your comments are very helpful. I believe with view data yo= u > mean that is kind of static data not tied to business logic. For example > menus soemtime are dependent on Roles =A0and/or business rules. In that c= ase > menus should also be loaded from controller. Is it correct? In fact I believe that menus are *always* view data. Even if they are dependent on business rules, they should loaded where they belong as they do not make sense in other parts of the page. Obviously IMHO. Ask your project leader (if you're not him/her :-D ) because this is an interesting point of discussion. Antonio