Form

2 posts, 0 answers
  1. Gita
    Gita avatar
    12 posts
    Member since:
    Nov 2013

    Posted 10 Dec 2013 Link to this post

    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
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 13 Dec 2013 Link to this post

    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!
  3. UI for ASP.NET AJAX banner
Back to Top