Results 1 to 4 of 4

Thread: Where is source code to automate UI for Roo generated REST/JSON tester?

  1. #1

    Default Where is source code to automate UI for Roo generated REST/JSON tester?

    This video http://www.youtube.com/watch?v=TNE7NBLseRA shows how to create a web user interface that allows one to test the GET, PUT, POST and other REST commands.

    Apparently this is alternative to use curl to test the REST interface.

    However, the author of the video pastes some HTML source code into the Spring/MVC/REST server/service generated by ROO and I cannot get a good look at at.

    As a result of pasting this code, he can easily send/receive the JSON code and demonstrate the REST/JSON feature with PUT,GET and POST commands.

    I want to do this too but I cannot figure out where I download the source code for this. I think he just enabling some HTML code that ROO has already generated but I'm not sure. It looks like he just pastes some links to javascript source into a jspx file. Is this procedure with its source code written down anywhere? I'm really squinting to read that source code on the YouTube video.

    Thanks
    Siegfried.

  2. #2
    Join Date
    Oct 2006
    Posts
    12

    Default

    Hello Siegfried,

    There may be a bug in Roo which is generating an incorrect RESTful API.

    See http://forum.springsource.org/showth...really-RESTful

  3. #3

    Default

    Oops, see my next post below. This was redundant...
    Last edited by siegfried; Mar 18th, 2013 at 04:00 PM. Reason: I thought this post was lost...

  4. #4

    Default

    OK I found the source code for the javascript REST client on the YouTube page mentioned above but I cannot get it to work. ROO/Eclipse gives me errors when paste the html source code in index.jspx and I can only guess that the author of that YouTube video was using an older version of Roo/Eclipse.

    Now I looked at http://forum.springsource.org/showth...really-RESTful .

    So AngularJS will not work.. What does work? curll? Custom java client? Something else? I want to try out the put/get/post/delete commands.

    Thanks
    Siegfried
    Last edited by siegfried; Mar 18th, 2013 at 04:15 PM.

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
  •