Re: Inicialiazing a LookupDispachAction

2004-10-02 Thread Mark Lowe
You can also use the parameter attribute in the validate method (assuming you're using an actionform and decide whether to validate there. public ActionErrors validate(..) { String method = mapping.getParameter(); String target = request.getParameter(method); if(target.eq

Re: Inicialiazing a LookupDispachAction

2004-10-02 Thread Richard Tuquet Laburre
may be you can put "validate=false" in your struts-config.xml and execute form.validate in the methods which have to validate your form PS : excuse me ; my english is bad ; i am french ;-) Gabriel França Campolina a écrit : Hi Folks, I have a action-mapping that mapping a Action named ProdutoActi

Re: Inicialiazing a LookupDispachAction

2004-10-01 Thread Michael McGrady
I believe, Wendy, he is asking how LookupDispatchAction gets the name of his button if he does not somehow assign some value to a name, such as "method=button.delete" or "method=delete". I gave you the answer to this, Gabriel. There is a "huge" structure built around LookupDispatchAction whic

Re: Inicialiazing a LookupDispachAction

2004-10-01 Thread Wendy Smoak
From: "Gabriel França Campolina" <[EMAIL PROTECTED]> > I'd like know more about this, if I don't set a value to variable > method, what method will call in my action??? > ex in my url: > if I do: > .../produto.do?method= //how call my methods to > lookupdispachaction(method=button.delete o

Re: Inicialiazing a LookupDispachAction

2004-10-01 Thread Gabriel França Campolina
Hi Folks, I'd like know more about this, if I don't set a value to variable method, what method will call in my action??? ex in my url: if I do: .../produto.do?method= //how call my methods to lookupdispachaction(method=button.delete or method=delete)

Re: Inicialiazing a LookupDispachAction

2004-10-01 Thread Michael McGrady
Hi, Gabriel, In order to cover multiple images on submits, LookupDispatchAction does the following in order: 1 Find the mapping attirbute parameter in order to find the value of the visual representation, e.g. "Delete It". This requires, of course that this be the value of the name attribute

RE: Inicialiazing a LookupDispachAction

2004-10-01 Thread Barnett, Brian W.
ATIONERROR); } } -Original Message- From: Gabriel França Campolina [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 6:44 AM To: [EMAIL PROTECTED] Subject: Inicialiazing a LookupDispachAction Hi Folks, I have a action-mapping that mapping a Action named ProdutoAction th

Inicialiazing a LookupDispachAction

2004-10-01 Thread Gabriel França Campolina
Hi Folks, I have a action-mapping that mapping a Action named ProdutoAction that extends LookupDispachAction and have 3 methods into: start, delete, save. I'd like inicialized my form with values of my dataBase request the method start. With ActionForm I can do, but I was used the DynaValidatorFo