尽管我在域类中添加了@Name字段,但TreeFace.ejs(实际上是TreeNodeFace.ejs)找不到Name字段的错误消息。
答案 0 :(得分:0)
必须有吸气剂和二传手,我发现我在这种情况下错过了定位器的定义:
@Name
@Face(displayName = "name")
public String getDisplayName() {
return displayName
}
添加setDisplayName(String dispName)后,错误已经消失。