Results 1 to 3 of 3

Thread: Going Beyond Roo Example

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Location
    Los Angeles
    Posts
    66

    Default Going Beyond Roo Example

    I've been using Roo to create an application. I've created a domain object "Asset" with persistence and an MVC Controller. I would like to add an action that would marshal the object into XML and send it to a URL. How can I add a new mapping/action to my scaffolded Controller to do this?

    Actually, I've made some progress - now have a service object, a new controller and view hooked together. What is the coolest solution for XML conversions?

  2. #2
    Join Date
    Dec 2007
    Location
    Stockholm, Sweden
    Posts
    190

    Default

    Check out how to setup content negotiation

    http://stackoverflow.com/questions/2...r-restful-serv
    Shahzada Hatim
    @geoaxis/twitter
    http://hatimonline.com

  3. #3
    Join Date
    Jul 2010
    Location
    Los Angeles
    Posts
    66

    Default Re: Check out how to setup content negotiation

    Thanks for the cool link

Tags for this Thread

Posting Permissions

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