This is a migrated thread and some comments may be shown as answers.

Form

1 Answer 54 Views
General Disccussions
This is a migrated thread and some comments may be shown as answers.
Gita
Top achievements
Rank 1
Gita asked on 11 Dec 2013, 03:03 AM
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

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 13 Dec 2013, 01:24 PM
Hi Gita,

I am not sure what is the intent of the code you have posted, since the dropdownlist does not have a path configuration option. Can you please clarify? 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Disccussions
Asked by
Gita
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or