Hi,

1) Is there any way i can validate the entire list using valang? Validating individual elements ( list[0].name ) works. But i wish to validate all the elements in the list.

2) Is there any way i can typecast the bean type inside my validation.xml( Bean validation Framework) ?

eg:-

The type of account.payment is String. I want to cast it to Integer inside my xml file. Is this possible.


Thanks for ur replies