Announcement Announcement Module

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions ( project, this forum has been decommissioned in favour of Spring Extensions one at:

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Costin Leau
SpringSource - Spring Training, Consulting, and Support - "From the Source"
See more
See less
Bean Validation and Valang (List access and type casting) Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bean Validation and Valang (List access and type casting)


    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) ?


    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