concept form in category grails

appears as: form, forms, form, The form
Grails in Action, Second Edition

This is an excerpt from Manning's book Grails in Action, Second Edition.

The next iteration of our example sees us converting the generated quotes into a form of Pig Latin. This is a fun little word game that involves simple manipulation of words, turning them into something unrecognizable to the average English speaker. The rules for modifying words vary, but in this case we’re going to use Wikipedia[2] as our source.

We’ll get the chapter underway by pulling together all you’ve learned so far about controllers, forms, and domain classes. Then we’ll show you how to modify Hubbub to add and display user posts on a Twitter-style timeline.

For this to work, you need to add a form to timeline.gsp to capture the new content for the post.

Listing 6.4. Adding a form for new posts

In the listing you added a new form to the page using the <g:form> tag, with the target of the form being the addPost action .