Validating using stripes causes bound values to delete

Posted by Davoink on Stack Overflow See other posts from Stack Overflow or by Davoink
Published on 2010-05-12T10:41:21Z Indexed on 2010/05/12 10:44 UTC
Read the original article Hit count: 217

Filed under:

I'm using Stripes and I am validating the values of a drop down box to ensure the user selects an option. On initial load all data is present, but once the validation kicks in the form loses the data that was set up in the action bean on load. This includes the original list I am validating against.

I'm simply using in the jsp, and annotating the field in the action bean as @Validate(required=true).

Am I missing something simple?

Cheers

© Stack Overflow or respective owner

Related posts about stripes