I've come round to Michael McGrady's way of thinking. LUDA is far more complex than it needs to be.
See http://wiki.apache.org/struts/StrutsCatalogVariousButtonSolutions Paul > -----Original Message----- > From: Vaclavik Radek [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 04, 2004 1:47 PM > To: '[EMAIL PROTECTED]' > Subject: LookUpDispatchAction weakness? > > > Hi, > > I wanted to follow best practices and thus using LUDA, but I found the > following weekness: I have to rewrite code common to all of > the actions in > every action method. > > When using JavaScript to set e.g. the action attribute, I can > do some common > stuff in the execute method and then decide (if) what > specific code to do > based on the action. However, if there are separate methods > for each action, > I would have to either rewrite that code or make some common > method and move > the code there (then there is problem with returning > variables, or having > them as class variables - both doesn't seem very nice). > > Am I missing something here? How are you guys dealing with this? > > Thx for tips. > > Radek > ********************************************************************** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]