You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antoni Reus (JIRA)" <ji...@apache.org> on 2006/11/26 07:11:57 UTC
[jira] Commented: (STR-1729) DynaActionForm properties get
initialized twice.
[ http://issues.apache.org/struts/browse/STR-1729?page=comments#action_38861 ]
Antoni Reus commented on STR-1729:
----------------------------------
From: areus@ibit.org
Subject: Ja no faig feina a IBIT
Bon dia,
D'ençà 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: http://issues.apache.org/struts/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:
> <snip>
> DynaActionFormClass dynaClass =
> DynaActionFormClass.createDynaActionFormClass(config);
> instance = (ActionForm) dynaClass.newInstance();
> ((DynaActionForm) instance).initialize(mapping);
> </snip>
> dynaClass.newInstance() creates an instance of DynaActionForm and sets its
> initial properties, after that DynaActionForm.initizalize(mapping) sets the
> initial properties again!.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira