How to set path in kendo form where the variable is in embeddable class?
//embeddable class
@Embeddable
@Table(name="TABLE1")
public class KeyTABLE1 implements Serializable {
@Column(name="UNATTEND_TYPE")
private String unattend_type;
//etc
}
//entity
@Entity
@Table(name="TABLE1")
public class Table1 {
@Id
private KeyTABLE1 primKey;
//etc
}
my form but not working:
<kendo:dropDownList path="primKey.unattend_type" name="unattendTypeKendo" dataTextField="text" value="value">
<kendo:dataSource data="${unattendType}"></kendo:dataSource>
</kendo:dropDownList>
error is : Servlet.service() for servlet [appServlet] in context with path [/myProject] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
Thx
//embeddable class
@Embeddable
@Table(name="TABLE1")
public class KeyTABLE1 implements Serializable {
@Column(name="UNATTEND_TYPE")
private String unattend_type;
//etc
}
//entity
@Entity
@Table(name="TABLE1")
public class Table1 {
@Id
private KeyTABLE1 primKey;
//etc
}
my form but not working:
<kendo:dropDownList path="primKey.unattend_type" name="unattendTypeKendo" dataTextField="text" value="value">
<kendo:dataSource data="${unattendType}"></kendo:dataSource>
</kendo:dropDownList>
error is : Servlet.service() for servlet [appServlet] in context with path [/myProject] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
Thx