That would be great, but please don't forget the request type. Usually
I need to do this for POST requests only, this separation by type is
really important to me. So instead of reset="true" I would rather
have:

<form-property
  name="someFlag"
  type="java.lang.String"
  initial="true"
  reset="POST"/>

where "reset" can be:

* "true" or "ALL" to reset for any request type;
* "POST" or "GET" or "POST, GET" or "POST, GET, HEAD"
  or whatever other possible types, can be comma-separated,
  to reset for specific request types only.

Michael.

On 10/12/05, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> Maybe we can do something like this when configuring forms:
> <form-bean
>     name="MyForm"
>     type="org.apache.struts.action.DynaActionForm">
>     <form-property
>         name="firstName"
>         type="java.lang.String" />
>     <form-property
>         name="lastName"
>         type="java.lang.String" />
>     <form-property
>         name="someFlag"
>         type="java.lang.String"
>         initial="false"
>         reset="true"/>
> </form-bean>
>
> I'll bring it up again and see what happens.
>
> Hubert

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

Reply via email to