I have serached the forum and found mentions of a possible bug but I wanted
to know if there I am doing something stupid before I write a custom
validation.

I have a number of properties on my action bean with validation of the
following form:

@ValidateNestedProperties({
     @Validate(field=afield required=true)
})
protected List<SomeObject> property;

public SomeObject getProperty() {
   return property;
}

public void setProperty(List<SomeObject> property) {
   this.property = property;
}

When the list is empty or it contains entries that are not updated, I get a
validation error saying the field is required.  The values in the list are
all valid.

Any suggestions as to why this is happening?

It only seems to have a problem with indexed properties.


-- 
View this message in context: 
http://old.nabble.com/Problem-with-required-field-validation-in-indexed-properties-tp26335210p26335210.html
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to