Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3810

Add validation attributes in generated views

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.0.M2
    • Fix Version/s: 2.0.0.M3
    • Component/s: None
    • Labels:
      None

      Description

      Now a days, Spring Roo uses FreeMarker templates to generate views.

      That FreeMarker templates doesn't receive information about JSR303 annotations, so they're not able to include validation attributes on HTML components.

      http://www.w3schools.com/html/html_form_attributes.asp

      • Provide JSR303 information to the view context.
      • Update FreeMarker templates to include validation attributes using the provided JSR303 info.

        Attachments

          Activity

            People

            Assignee:
            jcgarcia Juan Carlos García del Canto
            Reporter:
            jcgarcia Juan Carlos García del Canto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: