I like to put any basic validations like required fields, field size,
and content (alphanumeric, date format) into the form.
Anything that requires a database call or extended business logic I do
in the action and delegate it off to a business/DAO class.
I find it is easier to manage things if th
On 6/15/06, Vishal Seth <[EMAIL PROTECTED]> wrote:
Can there be some thing which can be looked at or any ideas on what
could be the better way to implement this sort of condition?
Do you really 'have' to bother using validate='true'? Personally, I
still find it much more conveineint to validat
Subject: Re: Help on Validation
Scott Van Wart wrote:
> Can you give an example? I'm still not completely positive I know
> what the problem is, and if you really need this kind of complexity.
I think he was asking if there was a way to declaratively define
validations based on runtime dyn
Scott Van Wart wrote:
> Can you give an example? I'm still not completely positive I know
> what the problem is, and if you really need this kind of complexity.
I think he was asking if there was a way to declaratively define
validations based on runtime dynamics, like the user name.
This strike
Vishal Seth wrote:
Yep I agree. But writing plugins would not help as plugin would be
loaded during the application load time.
Can there be some thing which can be looked at or any ideas on what
could be the better way to implement this sort of condition?
Thanks for your help.
Can you give
: Scott Van Wart [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006 8:18 PM
To: Struts Users Mailing List
Subject: Re: Help on Validation
Vishal Seth wrote:
> I got the first point mentioned where I would need to override the
> validationKey method and not the second one.
>
> Proble
Vishal Seth wrote:
I got the first point mentioned where I would need to override the
validationKey method and not the second one.
Problem here is it is not only required during login time but throughout
the application there can be different validations for each form or some
of the forms. Hen
first point mentioned I would need
to have different forms entry throughout the application.
-Original Message-
From: Scott Van Wart [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006 7:08 PM
To: Struts Users Mailing List
Subject: Re: Help on Validation
Vishal Seth wrote:
>
Vishal Seth wrote:
Hi,
Can I do validation for same form on basis of some session key.
Currently all the validations are stored in application scope.
I want depending upon user logged the validation fired should be
different on same form. I would be having different validation files for
Hi,
Can I do validation for same form on basis of some session key.
Currently all the validations are stored in application scope.
I want depending upon user logged the validation fired should be
different on same form. I would be having different validation files for
different users. It
10 matches
Mail list logo