How can I make a “todo list” on Play 1.2.4 version?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Very very easily.
Todo.findAll()or similar to pass in all Todo items to the index page. Second action is to pass in a Todo object. This should be as simple as callingsave()on the Todo object, and redirecting back to the index page.I could probably write some code for you, but it really is as simple as described above.
Also, the old Play website had a 10 minute video to show the power of Play, and in that video Guillaume created a Todo list application. You can find the video below…
http://player.vimeo.com/video/7087610