Home
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:
-
Download and unpackage (unzip) Collab-Todo Web Application from:
http://github.com/jshingler/collabtodo
- cd to the Collab-Todo application directory
- execute
grails run-app
- In a browser, browse to
http://localhost:8080/collab-todo
- Login (upper right corner) with user id:
jim
and password:password
- Select the todoController
- Select the Green Plus sign and add a todo
Griffon Instructions: (Do Grails First)
-
Download and unpackage (unzip) gCollabTodo client from:
http://github.com/jshingler/gcollabtodo
- cd to the gCollabTodo application directory (the location that you just unzipped the zip file to)
- execute
griffon run-app
to start the application - login: (File → Login) with user id:
jim
and password:password
and the todo created above will be displayed in the table. - 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.