Re: [Stripes-users] BeanFirstPopulationStrategy problem

2013-08-04 Thread Nikolaos Giannopoulos
Cheshire, I agree with you that from a user experience perspective you should distill/cleanup things as much as possible so that the user has less to sift through in resolving the errors. Sounds like you want to attempt your cleanup on error and on validation. It's been a long time since I

Re: [Stripes-users] BeanFirstPopulationStrategy problem

2013-08-02 Thread Freddy Daoud
Hi Chris, I think the reason is, generally, if you submit a form with values and there are validation errors, those values are blocked from being bound on the action bean (validation is about disallowing invalid values, after all). When redisplaying the form and telling the user about the errors,

Re: [Stripes-users] BeanFirstPopulationStrategy problem

2013-08-02 Thread Chris Cheshire
The binding error issue dawned on me right after I sent the email. Dealing with the empty entries isn't a problem in the event handler (just check for null first), it's more of an issue on resubmission of the form. Part of the validation is to make sure the images being uploaded aren't over a