Return-Path: Delivered-To: apmail-velocity-general-archive@locus.apache.org Received: (qmail 81186 invoked from network); 2 Apr 2008 18:21:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2008 18:21:05 -0000 Received: (qmail 34979 invoked by uid 500); 2 Apr 2008 18:21:05 -0000 Delivered-To: apmail-velocity-general-archive@velocity.apache.org Received: (qmail 34954 invoked by uid 500); 2 Apr 2008 18:21:05 -0000 Mailing-List: contact general-help@velocity.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@velocity.apache.org Delivered-To: mailing list general@velocity.apache.org Received: (qmail 34944 invoked by uid 99); 2 Apr 2008 18:21:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 11:21:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nbubna@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 18:20:24 +0000 Received: by ug-out-1314.google.com with SMTP id m3so448662uge.34 for ; Wed, 02 Apr 2008 11:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=utyz5Dn19q5ZqUYznYKD0CG2B0XoD6ab/PhErOpB+9Q=; b=pNFWxqGkpo7+414zX2jJc2XT6AJX+2wJ+RxI7w4mMYRp5KH6ml+uSfzhY4hYNWkRwkbmW89lKoYKJ3D1AopYfbEIN7oEt3hNmHLnjPSZ++ABzN3Tg9u71iXbeitOb3Isb07CCGcc8P7CZpNDXM5pvQp5iGNju97LZlqJLXnfMLM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pUFOr4vltLRNsOl7ORgG+MmpqdDMpW/iHAGNntv1tojJEUwBXAtZ/MqTuiAsq+pPDU0EpjmFg837PLVkXbwWHzw6euBRH+oP82juObiWjxx/klstfFzg4DCGguJJm7y58BdYvo61ttEerNvj+ebdZyEljZYWl5CBBqfG1+wvXGU= Received: by 10.67.196.2 with SMTP id y2mr726050ugp.60.1207160434906; Wed, 02 Apr 2008 11:20:34 -0700 (PDT) Received: by 10.67.121.4 with HTTP; Wed, 2 Apr 2008 11:20:34 -0700 (PDT) Message-ID: <4d651da50804021120s105d91e4i398058adef47b576@mail.gmail.com> Date: Wed, 2 Apr 2008 11:20:34 -0700 From: "Nathan Bubna" To: general@velocity.apache.org Subject: Re: using velocity to traverse object graph In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Jexl was originally Velocity based/inspired. AFAIK, the syntaxes are still quite similar. If you'd like a general description, Velocity's user guide describes how to call methods on an object and gives examples. http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html#references On Wed, Apr 2, 2008 at 5:38 AM, tim arnold wrote: > > hello > > > i'm interested getting the value of an object field that i must get to using an expresstion to navigate to the correct object. i know i can use OGNL or JEXL or even JXPATH, but if i am limited to using velocity, can someone point to an example on how to do it? > > thank you very much for any help > TA > > _________________________________________________________________ > Going green? See the top 12 foods to eat organic. > http://green.msn.com/galleries/photos/photos.aspx?gid=164&ocid=T003MSN51N1653A --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@velocity.apache.org For additional commands, e-mail: general-help@velocity.apache.org