DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10979>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10979

DynaActionForm in session losts datas.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |



------- Additional Comments From [EMAIL PROTECTED]  2002-07-22 01:03 -------
Myabe, HTML form has elements of all properties of DynaActionForm, 
this problem does not appear, I think.

I'm trying to manage DynaActionForm which has indexed property
like this.

<form-bean dynamic="true"
    name="personListForm"
    type="org.apache.struts.action.DynaActionForm">
    <form-property name="personList"
        type="example.sessionless.Person[]"/>
</form-bean>

In this way, 

    ((DynaBean) instance).getDynaClass().getName();

becomes 'personListForm'.

    config.getType()

becomes 'org.apache.struts.action.DynaActionForm'. and

    config.getName()

becomes 'personListForm'.

So, name of DynaActionFormClass must be compared with 
'name' of FormBeanConfig, I think.

I have to write another additional comments.

Currently, RequestProcessor.processPopulate() method 
always reset ActionForm.

    form.reset(mapping, request);

But, reset() method of DynaActionForm always reset 
all properties by initial value, so DynaActionForm
can not retain values of session scope. Is this 
right action?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to