You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SweetScala
So I added the code in last night, the end result usage is like this:
class UserController extends FormController{
handleForm("/new-form", "user"){
form => form.req.method match {
case Get => HandlerNameView()
case Post => handleNewForm(form)
}
}
I did some refactoring of Req and Resp class that the latest trunk
won't compatible with preview SNAPSHOT.4 release. But I doubt anyone
is using it right now :-P
I need to add more sample cases into the sample-basic app for form
handling.