Skip to content

More robust solution for form validation #179

@hantsy

Description

@hantsy

In the Spring Web MVC there are some helpers to improve the form data binding and validation.

  1. In krazo, when the validation is failed, we have to rebuild the from data in the request. see my sample TaskController.java#L94-L104, but in Spring WebMVC, it is not required, check TaskController.java#L94-L97.
  2. In Spring MVC, there are some helpers for the views, including, JSP tags, Thymeleaf tags, Freemarker Marco, etc, to help to build the form more effectively. If there any helpers planned in Krazo do the same job or add some methods like hasErrors(), getErrors() in MvcContext.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions