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

Popular posts from this blog

linux - Could not find a package configuration file provided by "Qt5Svg" -

simple.odata.client - Simple OData Client Unlink -