playframework - Get populated data map after calling Form.fill method in Play 2.5 -
in play can populate form object fill method :
form<myclass> myform = formfactory.form(myclass.class).fill(new myclass("some", "data"));
however when call method data() on form object, return empty set, not expecting. how find way retrieve map<> of parsed bounded data ?
myform.data() // {} empty !
only way see data 1 one calling method
myform.field("fielda").value()
i want achieve in order beneficiate data binding have defined in custom formatter, date formats.
Comments
Post a Comment