阅读背景:

Play Framework:如何验证对象中的字段子集?

来源:互联网 

I have an User object that has many attributes. In my edit profile screen I'm displaying a subset of those attributes. In the corresponding controller action how can I validate only those fields that are being edited and not all the fields in the User object? I have an User object that has many attributes.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: