import play.data.*; import static play.data.Form.*; public static Result save() { Form<myobj> boundForm = cardForm.bindFromRequest(); if(boundForm.hasErrors()) { flash("error", "Please correct the form below."); return badRequest(page1.render(boundForm)); } myobj temp= boundForm.get(); temp.save(); . . . }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)