mardi 5 mai 2015

Play Framework 2.2: Form bind not working after moving a class to separate package

I had a class called MyClass under app.models and when I did

form(MyClass.class).bind(myClassObj);

it worked fine. But now I moved MyClass into another dependency library under com.company.newpackage.models and after the move the bind is not able to access any public field that does not have a getter. I tried finding any configuration or something that might help but so far, I am not able to find any.





Aucun commentaire:

Enregistrer un commentaire