Results 1 to 3 of 3

Thread: Controller not managed for dynamic finders

  1. #1
    Join Date
    Mar 2012
    Posts
    3

    Default Controller not managed for dynamic finders

    I'm using roo 1.2.1 and am attempting to follow the getting started tutorial. I've gotten to this part:

    Code:
    roo> finder add --finderName findRsvpsByCodeEquals
    Managed SRC_MAIN_JAVA/com/wedding/domain/Rsvp.java
    Created SRC_MAIN_JAVA/com/wedding/domain/Rsvp_Roo_Finder.aj
    Managed SRC_MAIN_JAVA/com/wedding/web/RsvpController_Roo_Controller.aj
    Created SRC_MAIN_WEBAPP/WEB-INF/views/rsvp/findRsvpsByCodeEquals.jspx
    Managed SRC_MAIN_WEBAPP/WEB-INF/views/menu.jspx
    Managed SRC_MAIN_WEBAPP/WEB-INF/views/rsvp/views.xml
    However I only receive the following output:

    Code:
    roo> finder add --finderName findRsvpsByCodeEquals
    Managed SRC_MAIN_JAVA/com/wedding/domain/Rsvp.java
    Created SRC_MAIN_JAVA/com/wedding/domain/Rsvp_Roo_Finder.aj
    I can see the new finder in Rsvp_Roo_Finder.aj but there is no change reflected in RsvpController_Roo_Controller.aj and no views generated for the finder as in the provided example.

    Does anyone know where I'm going wrong?

  2. #2
    Join Date
    Feb 2012
    Posts
    5

    Default

    You forgot to do web mvc finder all

  3. #3
    Join Date
    Mar 2012
    Posts
    3

    Default

    Ahh I'm completely skipped over that part. Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •