Okay, so thanks to your suggestion this is what I end up doing, good news
is it seems to work, too! :)
To successfully make Struts validate the collections inside the collection,
just use a "recursive" visitor validation on fields, making the first
visitor "point" to the second and so on:
1) BlahBl
when field-validator-type is visitor validation happens at the outermost
enclosing class
if you want to validate the individual attributes of the enclosing class you
will need to specify context and append that context to each attr e.g.
myContext
true
2 matches
Mail list logo