Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 20563 invoked from network); 10 May 2005 19:39:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 May 2005 19:39:36 -0000 Received: (qmail 78791 invoked by uid 500); 10 May 2005 19:42:47 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 78762 invoked by uid 500); 10 May 2005 19:42:46 -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 78744 invoked by uid 99); 10 May 2005 19:42:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ruiveloso.100limite.pt (HELO ruiveloso.100limite.pt) (213.63.185.197) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 10 May 2005 12:42:46 -0700 X-ClientAddr: 80.125.224.102 Received: from [10.0.0.11] ([80.125.224.102]) (authenticated (0 bits)) by ruiveloso.100limite.pt (8.11.6/8.11.6) with ESMTP id j4AJd5T15000 for ; Tue, 10 May 2005 20:39:05 +0100 User-Agent: Microsoft-Entourage/10.1.6.040913.0 Date: Tue, 10 May 2005 21:39:37 +0200 Subject: Re: StrutsCatalogInputOutputSeparation From: Pedro Salgado To: Struts Users Mailing List Message-ID: In-Reply-To: <6C7F4C829F4B3447AF80D08BE4F429F402B7EB@usctmx1104.merck.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-ruiveloso-mailscan-info: For more information please contact postmaster@100limite.com X-ruiveloso-mailscan: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 10/05/2005 21:30, "Benedict, Paul C" wrote: > I have read Michael Jouravlev's article: > http://wiki.apache.org/struts/StrutsCatalogInputOutputSeparation > > I can't find any blog or comment box on the page, so I'll write here. I > would like people to freely respond to my comments. > > I disagree with the two-actions methodology to solve the separation of input > and output data. If Actions are a web-interface into your business logic, > there is no need to go into another action to do more processing; I believe > the chains approach in Struts 1.3 solves this problem by keeping chains of > logic below the Web/Struts layer. > > This technique is known as ActionChaining and, as I agree, it seems to be > frowned upon: > http://wiki.apache.org/struts/ActionChaining > > I personally do not like putting any output data in the form unless it > started as input. I envision ActionForms to be tightly linked to HTML forms. > Conceptually speaking, since HTML forms can only contain input-like > elements, so should only ActionForm objects too. I put my output data > exclusively in request or session attributes as necessary, but never the > form; I believe this complicates and misuses the conception of a form. I also agree with you. I even created some small package to make my own "viewbeans". Pedro Salgado > > I am ready to be disagreed with... But I want to know why. > > Thanks, > Paul > > > > > > > ------------------------------------------------------------------------------ > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New > Jersey, USA 08889), and/or its affiliates (which may be known outside the > United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as > Banyu) that may be confidential, proprietary copyrighted and/or legally > privileged. It is intended solely for the use of the individual or entity > named on this message. If you are not the intended recipient, and have > received this message in error, please notify us immediately by reply e-mail > and then delete it from your system. > ------------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org