Skip to content
jshingler edited this page Sep 13, 2010 · 14 revisions

Welcome to the gcollabtodo wiki!

gcollabtodo is a Griffon (Groovy + Swing) client to a Grails Application from the book Beginning Groovy and Grails (BGG). It is a reimplementation of the SwingBuilder client found in chapter 13 “Alternative Clients”.

The Griffon client communicates with the Grails Application using JSON based Restful Services.

Assumptions: Java is already installed

Prerequisites :

Grails Instructions:

  1. Download and unpackage (unzip) Collab-Todo Web Application from: http://github.com/jshingler/collabtodo
  2. cd to the Collab-Todo application directory
  3. execute grails run-app
  4. In a browser, browse to http://localhost:8080/collab-todo
  5. Login (upper right corner) with user id: jim and password: password
  6. Select the todoController
  7. Select the Green Plus sign and add a todo

Griffon Instructions: (Do Grails First)

  1. Download and unpackage (unzip) gCollabTodo client from: http://github.com/jshingler/gcollabtodo
  2. cd to the gCollabTodo application directory (the location that you just unzipped the zip file to)
  3. execute griffon run-app to start the application
  4. login: (File → Login) with user id: jim and password: password and the todo created above will be displayed in the table.
  5. select the todo in the table to see the details.

NOTE: Update of an existing todo isn’t implemented at this time. But you can Add and Delete todos. Give it a try. Remember to refresh the browser to see the results.

Clone this wiki locally