I did it still not working.  Here is the sniplet
>From struct-config.xml:
<form-bean name="domainDtForm"
type="org.apache.struts.action.DynaActionForm">
    <form-property name="exceptNewInd" type="java.lang.String" initial="N"/>
    <form-property name="reslntNewInd" type="java.lang.String" initial="N"/>
    <form-property name="reslntGrpNewInd" type="java.lang.String"
initial="N"/>
</form-bean>

in my action class:
DynaActionForm dmainDtForm = (DynaActionForm) form;
dmainDtForm.reset(mapping, request);

----- Original Message ----- 
From: "Richard Hightower" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 21, 2004 5:57 PM
Subject: RE: reset property using DynaActionForm


> Use the initial attribute on the <form-property/> (???) element.
>
> -----Original Message-----
> From: Daynell Trent [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 21, 2004 4:44 PM
> To: Struts Users Mailing List
> Subject: reset property using DynaActionForm
>
>
> Hi,
> I'm using a DynaActionForm (lazy, didn't want to write all the setter and
> getter with ActionForm) but I don't know how to reset it property inside
my
> action class.  I did use DynaActionForm.reset() method in my action class
> but did not work.  Is there another way to reset it property?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to