Ted,

tnanks for your reply. This action was just an idea from me. I haven't thought
about including it into the struts stuff. Nevertheless I am pleased if it happens
and somebody find it usefull.

Dmitri Valdin



Datum:         24.11.2001 17:32
An:            Struts Developers List <[EMAIL PROTECTED]>




Antwort an:    "Struts Developers List" <[EMAIL PROTECTED]>

Betreff:       Re: [SUBMIT] LookupDispatchAction - how to handle multiple html:submit  
 buttons
Nachrichtentext:

Dmitri,

I ~really~ like the way this Action works.

* It keeps control in the Struts-config, and does not embed presentation
details into Action source code.

* A single mapping could dispatch every HTML form using a given
ActionForm bean. Or, one could choose to use more mappings and fewer
local forwards, as preferred.

* Each local forward can go to a different ActionMapping, or to the same
one with different query strings, or any combination of either approach.

* It is easily adapted for those nasty image buttons and also shows when
they are being used.

It is similar to a RelayAction that I use quite a bit, but turns things
around. I'd like to adopt it into my "Scaffold" package as
"findForwardAction". (There may be other use-cases beyond buttons that
haven't occurred yet.) Would that be all right? Of course, the author
credit would be yours, and the license is ASF.

-Ted.




--

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn 
Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das 
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



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

Reply via email to