Re: Error in dynamic form with any number of drop down ,enu

2012-03-22 Thread kshitiz
Thank you for the linkthe error is gone but now, drop down is not gtting displayed...what could be the reason...surely organizationList is not getting populated with dropdownchoice component but why? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Error-in-dynamic-

Re: Error in dynamic form with any number of drop down ,enu

2012-03-22 Thread Martin Grigorov
Hi, Your code: StatelessForm registerForm = new StatelessForm ("registerForm", new CompoundPropertyModel(userDomain)); ... registerForm.add(organizationList = new ListView("organizationList") { since organizationList has no its own model it asks its parent for a model. Since the parent uses Co

Re: Error in dynamic form with any number of drop down ,enu

2012-03-21 Thread kshitiz
Hi, what is the relation between userdomain and organizationList as shown in the error...i have searched my things in internet but I am not able to understand...the problem is related to dropdownchoice declaration so where userdomain comes into picture?? Please help me... -- View this message in

Re: Error in dynamic form with any number of drop down ,enu

2012-03-21 Thread kshitiz
Sorry..I missed to add *registerForm.add(organizationList);* in java class. After adding that with proper getters and setters..I am getting the error: WicketMessage: No get method defined for class: class domain.UserDomain expression: organizationList Root cause: org.apache.wicket.WicketRuntimeE

RE: Error in dynamic form with any number of drop down ,enu

2012-03-21 Thread Michal Wegrzyn
Hi, You should add "organizationList" to the registerForm object. Best regards, Michal Wegrzyn > -Original Message- > From: kshitiz [mailto:k.agarw...@gmail.com] > Sent: Wednesday, March 21, 2012 15:57 > To: users@wicket.apache.org > Subject: Error in dynamic form with any number of drop