Results 1 to 3 of 3

Thread: @MVC - new controller with @PathVariable

Hybrid View

  1. #1

    Default @MVC - new controller with @PathVariable

    Hello,

    will Roo support a new way to write controllers and handling methods which is available 3.0M1 using @PathVariable?

    As it is shown here: http://blog.springsource.com/2009/03...-spring-3-mvc/

    Kind regards,
    Fritz

  2. #2
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    Hi Fritz,

    Roo actually uses the @PathVariable already heavily in its controllers. This is one of the main features of the new Spring 3 REST support.

    If you generate a sample project (ie using the clinic.roo script) and then take a look at the *_Roo_Controller.aj files you will see it being applied.

    Regards,

    Stefan

  3. #3

    Default

    Oh, my bad, I see it, 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
  •