struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhou" <j...@netspread.com>
Subject Re: Different actionforms pointing to the same action ?????
Date Thu, 10 Jul 2003 22:29:03 GMT

----- Original Message ----- 
From: <Charles_Moulliard@skillteam.com>
To: <struts-user@jakarta.apache.org>
Sent: Thursday, July 10, 2003 10:40 AM
Subject: Different actionforms pointing to the same action ?????


> Hi,
>
> Is it possible that an action is used with different actionforms ?
> I explain. I would like to create a generic action (e.g. action to send an
> email using the content fullfilled by a user in a form) which is not
linked
> to a particular actionform (e.g. registration form, cancellation form,
> approval form). In this case, the action should retrieve from the
> Actionform object, the properties (e.g. first name, last name, ...) using
> introspection because those are not known inside the action. The
properties
> are different from objectform to objectform.

It is hard to have a generic action that is capable of dealing with
different types of form beans (or instances of ActionForm). However,
it is conceivable to have a generic action that deals with general events
and routing tasks at a high level.

>
>
> Met vriendelijke groeten - Cordialement - Best Regards,
>
> Ir. Charles Moulliard
> eBusiness Solutions Architect
>
> SkillTeam NV, AV. Roodebeek - Roodebeeklaan 89 - 1030 Brussel
> Tel    :  +32 (0)2 743 49 00
> Fax    : +32 (0)2 743 49 01
> GSM  : +32 0486 25 98 52
> eMail  :  chm@SkillTeam.com
>

Jing
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message