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

Scaffolding not being correctly generate when using --backingType with a POJO

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Works as Designed
    • Affects Version/s: 1.2.0.RELEASE
    • Fix Version/s: None
    • Component/s: WEB MVC
    • Labels:
      None
    • Environment:
      iMac 27" Mid 2011 Quad core i7 @ 3.4Ghz, 8Gb RAM, 1TB HD, OSX 10.7.2 (Lion)
      MySQL 5.1
      OpenJDK 7
      Spring STS 2.8.1

      Description

      I am attempting to use a POJO as a backing class for a web form. I want Roo to scaffold everything thats in the POJO and then modify the view to fit my needs. When the form is submitted, I want to use the data in the POJO with a service class for processing.

      However, when I execute the following command:

      web mvc scaffold --backingType ~.domain.forms.PaMv1 --class ~.web.PaMv1Controller

      all that is generated is an empty controller without methods or a view.

      I initially created the project with Roo 1.1.5 and have been migrating through the 1.2 releases as they became available. I am currently using Roo 1.2 RELEASE.

        Attachments

          Activity

            People

            • Assignee:
              stewarta Alan Stewart
              Reporter:
              jbrosan John Brosan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: