Okay,
Say you have many forms you have to write.
These forms have (sometimes) very little to do with each others but for
the fact that they belong to the same application. For instance, people
can introduce periods (from a date, to a date) for a specific reason
(product validity) but also period for selecting movies...
I'd like to have a PeriodForm object which would deal with the validation
of the date : _ StartDate < EndDate
 _ Day typed are valid dates
 _ ...

For that I can do two simple things :
a) MyCustomForm extends the DateForm
b) MyCustomForm delegates to the DateForm
   & just provides the right interface.

Another option would be to have a reference to the DateForm in the
MyCustomForm but the system would automatically delegate all the date
relate infos to the DateForm...
Is this possible & HOW ?

Is this clearer ?

Tia,

\T,



>
> Could you please restate (or at least clarify) your question?
> I don't think I fully understand what you are asking.
>
>
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Tuesday, May 18, 2004 9:32 PM
> Subject: Mulitple Forms per Submits
>
>
>>
>> Is there a clean way to have multiple Forms posted when the user click
>>  the Submit buttons ?
>> Basically, instead of  extending various Forms to have some code
>> re-use  I think it would be much more interresting  to have the
>> possibility to  post multiple Forms instead of having a Specific form
>> extending generic  forms... ?
>>
>> Tx for any help,
>>
>> \T,
>>
>>
>>
>>
>>
-- 
Thomas SMETS
rue J. Wytsmanstraat 62
1050 Brussels



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

Reply via email to