Hello all, Is it possible to check a field value against a list using the @ConditionalVisitorFieldValidator annotation? I'm thinking of something like this:
@Column(name="VENDOR_TYPE", nullable=false) @ConditionalVisitorFieldValidator (expression="vendorType == 'COTS'&& vendorType == 'GOTS' && vendorType == 'MOTS'", key="invalid.vendortype") public String getVendorType() { return vendorType; } Is there a better way to handle this type of validation? Thanks in advance, MG --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org