Issue Details (XML | Word | Printable)

Key: STR-1729
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Antoni Reus
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Struts 1

DynaActionForm properties get initialized twice.

Created: 04/Sep/03 04:42 PM   Updated: 26/Nov/06 10:47 AM
Return to search
Component/s: Core
Affects Version/s: Nightly Build
Fix Version/s: Future

Environment:
Operating System: other
Platform: Other

Bugzilla Id: 22929


 Description  « Hide
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!.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.