I forwarded that solution in another e-mail (so the next poor sap that wants to do it can find it in the archives).
Thanks for the verification I am not a crackpot... Well, a bad one anyway... -----Original Message----- From: ekbush [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 12:04 PM To: struts-user Subject: Re: Initialization in a dispatchAction class That was my thought, but, not knowing what you'd tried, I didn't want to suggest it :-) I haven't fooled around with extending the dispatch actions - but I don't see why this would be a problem. Just extend it, do what you need to, and then call the super.execute(...). I think that's where you'll get the most mileage ;-) [EMAIL PROTECTED] wrote: >H'Okay... > >* I've tried simply adding in another action called startPremadeReports >that forwards to: premadeReports.do?action=init >Problem is that the premadeReports has validation which fails because >you have not been to the form yet > >* I've tried a globalForward but that has the same problem... > >* The only thing that works so far is to have a whole different action >that is exactly the same without validation. then I am back to needing >the action=init on the first call. > > >I would really prefer not to hack the source code for a default setting, >but know that I am thinking about it, can I override the execute method >or something to check for the parameter, set a default if there is not >one there and then forward on to the super.execute method? Hmmmmmmmm > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>