我很难显示包含类的多个对象的表单的错误,在我的例子中是ProductMilestone。基本上,我显示了一个表格中的所有里程碑,显示和更新工作非常好。一旦我得到一个错误,我的模板将不再显示错误"IllegalStateException: No值“。这是因为错误的表单不包含从Form.get()方法接收到的值,在我的示例中是MilestoneSet。在显示错误的情况下,我能做些什么来完成这个工作呢?查看:
@(milestoneFormSet: FormProductMilestone.MilestoneSet,productReleaseId: Lo
基于以下从Play服务器返回分块数据的代码示例,out.write不应该在每次调用时都创建响应?当使用post客户端时,我只得到一个包含所有数据的响应。public static Result index(){ Chunks<String> chunks = new StringChunks() // Called when the stream is ready
public void onReady(Chunk