struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoni Reus (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STR-1729) DynaActionForm properties get initialized twice.
Date Wed, 03 Feb 2010 17:49:28 GMT

     [ https://issues.apache.org/jira/browse/STR-1729?page=com.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çà 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:
> <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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message