struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Singulariter <gkorsn...@citytechinc.com>
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!
George
-- 
View this message in context: http://www.nabble.com/Validation-Complications---Validating-only-those-fields-displayed-in-the-form%2C-and-not-the-rest-of-the-object-in-use-tp14722298p14722298.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message