struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <>
Subject Re: Multi Profile web application and Validation
Date Wed, 19 Apr 2006 00:05:35 GMT
If different inputs are required according to role, then you may need
to fall back to the standard "validate" method to do that part of the
validation. Other parts of the validation could still be done by the
Validator framework, but you would also include a custom validate
method that would look at the user role. Just be user to call
super.validate if you implement validate and also use the Validator

HTH, Ted.

On 4/18/06, Angel Navarro <> wrote:
> Hi,
> I have a web application with Struts 1.3.
> This application is multi profiles. For example, when the profile is
> Manager, the page have 3 inputs, but if the profile is User, the page have 2
> inputs.
> In this case, how can I validate this form?
> How can I have a system validation that having an user profile in session,
> can it validate the form???
> Thanks!

HTH, Ted.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message