From issues-return-14514-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Wed Feb 03 17:49:56 2010 Return-Path: Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: (qmail 35502 invoked from network); 3 Feb 2010 17:49:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 17:49:56 -0000 Received: (qmail 97857 invoked by uid 500); 3 Feb 2010 17:49:56 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 97824 invoked by uid 500); 3 Feb 2010 17:49:56 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 97816 invoked by uid 99); 3 Feb 2010 17:49:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 17:49:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 17:49:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 46B67234C495 for ; Wed, 3 Feb 2010 09:49:28 -0800 (PST) Message-ID: <900918728.6901265219368288.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Feb 2010 17:49:28 +0000 (UTC) From: "Antoni Reus (JIRA)" To: issues@struts.apache.org Subject: [jira] Updated: (STR-1729) DynaActionForm properties get initialized twice. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/STR-1729?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Antoni Reus updated STR-1729: ----------------------------- Comment: was deleted (was: From: areus@ibit.org Subject: Ja no faig feina a IBIT Bon dia, D'en=C3=A7=C3=A0 del passat 15 de novembre he deixat de treballar a l'IBIT. Per temes relacionats amb els projectes que duia jo, possau-vos en contacte= amb Felip Salas ( fsalas(ARROBA)ibit.org). Si voleu contactar amb mi, em podeu trobar a antoni.reus(ARROBA)gmail.com. Salut. ) > DynaActionForm properties get initialized twice. > ------------------------------------------------ > > Key: STR-1729 > URL: https://issues.apache.org/jira/browse/STR-1729 > Project: Struts 1 > Issue Type: Improvement > Components: Core > Affects Versions: Nightly Build > Environment: Operating System: other > Platform: Other > Reporter: Antoni Reus > Priority: Minor > Fix For: Future > > > To create a DynaActionForm i RequestUtils.createActionForm it does: > > DynaActionFormClass dynaClass =3D > DynaActionFormClass.createDynaActionFormClass(config); > instance =3D (ActionForm) dynaClass.newInstance(); > ((DynaActionForm) instance).initialize(mapping); > > dynaClass.newInstance() creates an instance of DynaActionForm and sets it= s > initial properties, after that DynaActionForm.initizalize(mapping) sets t= he > initial properties again!. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.