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

Web MVC Scaffolding of Enums requires them to be at top level in a file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.2.3.RELEASE
    • Fix Version/s: None
    • Component/s: WEB MVC
    • Labels:
      None

      Description

      If I define a public enum within the Java class that represents an Entity, and then add a field whose type is that enum, then when Roo creates or updates the jspx files for that entity, it scaffolds that field as field:input and not as field:select. Annotating the field with @Enumerated doesn't seem to change that.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stewarta Alan Stewart
              Reporter:
              chrisowens Chris Owens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: