I've never used XDoclet (although I mean to learn about it) so I can't help you there. Maybe someone else on the list can.
robert > -----Original Message----- > From: as as [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 02, 2004 12:39 PM > To: Struts Users Mailing List > Subject: RE: DispatchAction and validate > > > do I need an updated .xdt file for this? > y xdoclet generated Struts-config.xml is not having the action mappings for the > actiin class of mine, extending Dispatch Action. > It shows it fine for classes extending Action class though. > Thanks n advance for the help, > Sam > > Robert Taylor <[EMAIL PROTECTED]> wrote: > Yes. > > The DispatchAction will only invoke the method defined in the request under the name > defined in the parameter attribute of your > action mapping. So if I had update() and restore() as methods in a DispatchAction, > and I only wanted to validate on the > update, then > I would only define validate="true" in the action mappping for the DispatchAction > which is designated to invoke update(). This is > assuming you have two separate action mappings which map to the same DispatchAction. > > > robert > > > -----Original Message----- > > From: Frers Michael [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 02, 2004 3:23 AM > > To: Struts Users Mailing List > > Subject: DispatchAction and validate > > > > > > Hello > > > > i want to use DispatchAction > > now my questions is can i use in one action the struts-config entry validate="true" > > and in the other action validate="false" > > > > Thx for any hints > > > > Michael > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------- > Do you Yahoo!? > Yahoo! Search - Find what youre looking for faster. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]