On Tue, Mar 11, 2003 at 05:04:42PM -0500, Rob Rudin wrote: > Ahh well, yes, that would be a good point... In the situation > on my current job, it's an intranet site and we have control > over the client workstations. If that's not the case, then yes, > frowning on javascript does make a lot sense.
My way: Dispatch by the name (not value) of the submitted button. My Actions has a list of known submit button parameter names and dispatchers to a command depending on which known parameters in the list has a value set. This can be easily refactored in an abstract base class. Sadly, I have not simple source example at hand, but I think the idea is clear. -billy. -- Meisterbohne Meisterbohne GbR, Küfner,Mekle, Meier Tel: +49-731-399 499-0 eLösungen Söflinger Straße 100 Fax: +49-731-399 499-9 89077 Ulm http://www.meisterbohne.de/
pgp00000.pgp
Description: PGP signature