Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 69965 invoked from network); 30 Jul 2010 03:32:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Jul 2010 03:32:22 -0000 Received: (qmail 72911 invoked by uid 500); 30 Jul 2010 03:32:19 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 72725 invoked by uid 500); 30 Jul 2010 03:32:16 -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 72717 invoked by uid 99); 30 Jul 2010 03:32:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jul 2010 03:32:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dale@newfield.org designates 209.85.160.176 as permitted sender) Received: from [209.85.160.176] (HELO mail-gy0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jul 2010 03:32:08 +0000 Received: by gyb13 with SMTP id 13so662389gyb.35 for ; Thu, 29 Jul 2010 20:31:46 -0700 (PDT) Received: by 10.100.227.7 with SMTP id z7mr1374546ang.102.1280460706237; Thu, 29 Jul 2010 20:31:46 -0700 (PDT) Received: from Dales-MacBook.local (adsl-068-209-053-125.sip.asm.bellsouth.net [68.209.53.125]) by mx.google.com with ESMTPS id t24sm2662934ano.12.2010.07.29.20.31.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Jul 2010 20:31:44 -0700 (PDT) Message-ID: <4C52479E.7080207@Newfield.org> Date: Thu, 29 Jul 2010 23:31:42 -0400 From: Dale Newfield User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: Struts Users Mailing List CC: Zoran Avtarovski Subject: Re: OGNL Qurey References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit On 7/29/10 11:23 PM, Zoran Avtarovski wrote: > This sounds too easy, so I just want to clarify. From my action if I call > findValue(myExpressionString) and it will use OGNL to evaluate the > expression. Yes. To be more specific, ActionContext.getContext().getValueStack().findValue(yourExpressionString) Depending on what you're looking for, findString() might be helpful, too. http://struts.apache.org/2.1.8.1/struts2-core/apidocs/com/opensymphony/xwork2/util/ValueStack.html > That�s fantastic and exactly what I was looking for. > > I�ll try it this weekend. Good luck! -Dale --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org