Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDB4B4998 for ; Sun, 15 May 2011 15:35:17 +0000 (UTC) Received: (qmail 14344 invoked by uid 500); 15 May 2011 15:35:15 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 14321 invoked by uid 500); 15 May 2011 15:35:15 -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 14313 invoked by uid 99); 15 May 2011 15:35:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 May 2011 15:35:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davelnewton@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-iw0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 May 2011 15:35:09 +0000 Received: by iwr19 with SMTP id 19so5093835iwr.35 for ; Sun, 15 May 2011 08:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=/CYoeEpIgmdAN4w3TPsFbADK1wyYgl6qo357Wl85MT0=; b=Bc2cGQlFAitjkKgcmOMWZPFwFw4jgVeh0kYCCEnmIEmYU6TIrIJjUUsjdMra+u31td A5xEDnqYIzgNMgJM45gR3KfNWumSozxKCJLs4YQxie1Ywu8T6yXkET7PvXdJNFLkpVRR wdO3hF5n8oM+NTCfEEmHUp1TDMKJt7Y5A2uy8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=HiNChi8+zsm92l3SoeX54+b9aI3IzsxMMqSA+fgELo0LSSZBhGjc9LcTetpM+wCEWD Da4Wp9g2rmrrrPI5H4Fp3vE8hZTkZ720Buxcq4plGubCpVNfa5YZ7COOfTMx6ppyZm7D q0yKGCJu4knt5E1STLILwkB80TXyMRyqzl82w= MIME-Version: 1.0 Received: by 10.42.150.70 with SMTP id z6mr3839822icv.164.1305473689144; Sun, 15 May 2011 08:34:49 -0700 (PDT) Received: by 10.42.224.2 with HTTP; Sun, 15 May 2011 08:34:49 -0700 (PDT) In-Reply-To: References: Date: Sun, 15 May 2011 11:34:49 -0400 Message-ID: Subject: Re: Chained actions and their properties in the value stack From: Dave Newton To: Struts Users Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sunday, May 15, 2011, Alan D. Cabrera wrote: > I have a st of chained actions, in order A, B, C. Jason's correct--IMO action chaining is more trouble than it's worth, almost always. *Three* in a chain?! What's the use case for this? > A has a getter for Foo. =A0B does not have a getter/setter for Foo. =A0C = has a setter for Foo. =A0It seems that A cannot provide C the value of Foo = without B also "participating" and implementing a getter/setter for Foo. = =A0Yuck. Why "yuck"? You'd like the actions in the chain to be coupled even *more* tightly and rely on hidden magic to maintain state between them, beyond what's already provided? Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org