Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 31103 invoked from network); 14 Feb 2008 23:27:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2008 23:27:56 -0000 Received: (qmail 11576 invoked by uid 500); 14 Feb 2008 23:27:40 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 11546 invoked by uid 500); 14 Feb 2008 23:27:40 -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 11533 invoked by uid 99); 14 Feb 2008 23:27:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 15:27:40 -0800 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: local policy) Received: from [66.196.97.71] (HELO web56712.mail.re3.yahoo.com) (66.196.97.71) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 14 Feb 2008 23:27:08 +0000 Received: (qmail 83148 invoked by uid 60001); 14 Feb 2008 23:27:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=uDcmAs0G9JybvXZ9v0l70NBzcPWPoRbP0kJ1myD4vablZi5CCB22CwAQUI8D0d/Ians4I5lZHKN7kU8gIHlgoClHotFquC1rFBFUtRydn5x5e/W6MQO0ycG9Eh6ChS6YNhtmh9+60+iAbZ27lml43ROkQUk85IdnCzcVSW4ZN7o=; X-YMail-OSG: JO5NlkAVM1mySMjYHZgloQpVr2DO1rgpv9oWWFuyN8kYkiW1sr.RvT8xKBqFDiWVDg-- Received: from [63.166.14.2] by web56712.mail.re3.yahoo.com via HTTP; Thu, 14 Feb 2008 15:27:15 PST Date: Thu, 14 Feb 2008 15:27:15 -0800 (PST) From: Dave Newton Subject: Re: [struts] Dynamic Results To: Struts Users Mailing List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <470831.82086.qm@web56712.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --- stanlick@gmail.com wrote: > The ChartAction extends ActionSupport. Wouldn't the > action-mapping-OGNL-parsing be looking for height/width getters on the > ChartAction? I think we're all talking past each other here. It's the responsibility of the *result* to parse OGNL in its parameters: the JFreeChart result doesn't do that. If you look at the source of the JFreeChart result and compare it to something like the servlet redirect result you'll notice that JFreeChart just implements Result, whereas the the servlet result result extends StrutsResultSupport. It's StrutsResultSupport that does the evaluation of parameters. Dave > On Thu, Feb 14, 2008 at 4:39 PM, Dale Newfield wrote: > > stanlick@gmail.com wrote: > > > I am puzzled at why S2 is not executing getHeight() on my ChartAction > > > and substituting the height and weight into these params. > > > > This is done by StrutsResultSupport. I would guess that whatever class > > is implementing your chart result does not extend/leverage that > > capability. > > > http://struts.apache.org/2.0.11/struts2-core/apidocs/org/apache/struts2/dispatcher/StrutsResultSupport.html --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org