jacekolszak/EggFramework — Issue #3: Refactor forms and validation support
Author: jacekolszak
Created: 2011-10-18 07:29:30+00:00
State: open

Current implementation of validation is rather experimental. Method names are not consistent (in controller and form beans) and developer need to spend too much time in adding a validation and parsing of form parameters (both in the Java and Groovy layer). Following steps are required to imrpove the forms and validation support:
* uniform methods names and behaviour
* provide helper methods to decrease the time spent on developing the validation
* create a set of reusable validators
* add helper methods for rendering the forms (like FormHelper in RoR). Methods should allow to specify any HTML attribute inside elements (last method's argument should be a map for holding HTML attributes).