Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 84061 invoked from network); 29 Aug 2007 19:25:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 19:25:05 -0000 Received: (qmail 10891 invoked by uid 500); 29 Aug 2007 19:24:52 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 10730 invoked by uid 500); 29 Aug 2007 19:24:51 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 10719 invoked by uid 99); 29 Aug 2007 19:24:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 12:24:51 -0700 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 (nike.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; Wed, 29 Aug 2007 19:25:44 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IQT9N-0004yn-F6 for user@struts.apache.org; Wed, 29 Aug 2007 12:24:25 -0700 Message-ID: <12393954.post@talk.nabble.com> Date: Wed, 29 Aug 2007 12:24:25 -0700 (PDT) From: james_carbon5 To: user@struts.apache.org Subject: Re: Can anyone explain the leading "r" in OGNL list syntax? In-Reply-To: <46D5BC42.2030108@Newfield.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: james@carbonfive.com References: <12392943.post@talk.nabble.com> <46D5BC42.2030108@Newfield.org> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the response Dale. The "r" isn't a typo. If I remove it I get: javax.servlet.ServletException: freemarker.core.ParseException: Error on line ... Found string literal: "foo" Expecting: number etc... Thanks, James DNewfield wrote: > > > I've not written much freemarker, but I'd bet the r is a typo. The > important difference between the two tags you have are the single quotes > around the value of the list attribute. > > james_carbon5 wrote: >> <@s.select ... list=#{"foo":"foo stuff","bar":"bar stuff"} /> >> <@s.select ... list=r'#{"foo":"foo stuff","bar":"bar stuff"}' /> > > -Dale > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Can-anyone-explain-the-leading-%22r%22-in-OGNL-list-syntax--tf4349553.html#a12393954 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org