struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Singulariter <>
Subject Validation Complications - Validating only those fields displayed in the form, and not the rest of the object in use
Date Wed, 09 Jan 2008 21:41:27 GMT

Hi all,

Quick Struts 2 validation question:

Is it possible to validate only the fields displayed in a form, when the
form's fields are part of a larger object that uses annotation validation?

The problem is that I am using one object across many forms, each form
contains some of the values for that object. When each form validates it
validates everything in that object with a validation annotation, even if it
is not contained in the current form.

It seems as though there should be a Validate only form contents option, am
I missing something?

Thanks in advance!
View this message in context:
Sent from the Struts - User mailing list archive at

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

View raw message