Robin,
I only have one issue with this approach. I dont know how to make use of
the built-in validation rules provided in validation-rules.xml in my
.java code.
You are not trying to replace the validator. You are still going to use
it, so code in your normal rules in the XML file. All you'r
Thanks Paul for your input on this issue and
Thanks Wendy for suggesting the following link.
> Rick has an article on calling validation manually, here:
> http://learntechnology.net/validate-manually.do
>
I understand this stuff
ActionErrors errors = form.validate( mapping, request )
WongTseng wrote:
You say the validator is based on whatever key I supply.Is that true, as
far as I know the validation is linked with the form by the form's name.
ValidatorForm and ValidatorActionForm are coded to select the keys for
you. The former picks the form name, the second picks the acti
On 11/23/06, robinbajaj <[EMAIL PROTECTED]> wrote:
Hi Folks,
My previous post's subject was not clear. So here's a re-phrase of the
problem.
My loyaltyPAge.jsp has two buttons - Exit and continue.
I want the validation to occur only when "Continue" is clicked upon.
But the
Rick has a
hi,Paul:
You say the validator is based on whatever key I supply.Is that true, as
far as I know the validation is linked with the form by the form's name.
2006/11/24, Paul Benedict <[EMAIL PROTECTED]>:
Robin,
The validator is based on whatever key you supply. You can choose the
key. I like t
Robin,
Yes, there is a way, but Struts cannot automatically supply the solution
for you. The stumbling block is that you have automatic validation
turned on. If you only want to validate on a certain button, first turn
automatic validation off. This will prevent Struts from running the
valida
6 matches
Mail list logo