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
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
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
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
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)
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
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
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
8 matches
Mail list logo