Return-Path: Delivered-To: apmail-tiles-users-archive@locus.apache.org Received: (qmail 68336 invoked from network); 28 Nov 2008 18:47:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2008 18:47:32 -0000 Received: (qmail 48648 invoked by uid 500); 28 Nov 2008 18:47:43 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 48614 invoked by uid 500); 28 Nov 2008 18:47:43 -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 48603 invoked by uid 99); 28 Nov 2008 18:47:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2008 10:47:43 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2008 18:46:15 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1L68Mn-0002v8-HD for users@tiles.apache.org; Fri, 28 Nov 2008 10:47:01 -0800 Message-ID: <20738184.post@talk.nabble.com> Date: Fri, 28 Nov 2008 10:47:01 -0800 (PST) From: aaaaa To: users@tiles.apache.org Subject: Re: question about MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: aaaaa@mytrashmail.com References: <20724529.post@talk.nabble.com> <20737656.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Antonio Petrelli-3 wrote: > > And how do you call the definition? > > 2008/11/28 aaaaa : >> >> definition: >> >> >> >> >> >> jsp: >> ... >> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> >> >> >> >> >> >> thanks. >> >> >> -- >> View this message in context: >> http://www.nabble.com/question-about-%3Ctiles%3AimportAttribute-...-tp20724529p20737656.html >> Sent from the tiles users mailing list archive at Nabble.com. >> >> > > that's all I did. Looking at http://tiles.apache.org/tutorial/advanced/menu.html I decided that will make "var" visible in pagescope... All I need is just to create a variable directly in definition and than to be able to import it in jsp page.. I use spring and I use org.springframework.web.servlet.view.tiles2.TilesConfigurer to configure tiles... and in controller I do: @Controller public class Index { @RequestMapping("/index.html") public String index(@RequestParam(value="q",required=false) String q, ModelMap model return "index"; ... -- View this message in context: http://www.nabble.com/question-about-%3Ctiles%3AimportAttribute-...-tp20724529p20738184.html Sent from the tiles users mailing list archive at Nabble.com.