hello,

i am added a dropdownchoice to a form. The form's model is set to a
CompoundPropertyModel
as shown below
IModel zaModel=new CompoundPropertyModel(selected);
leaveform.setModel(zaModel);

Now the dropdown shows a list of Employees

EmployeeDropDownChoice approvalofficers=new
EmployeeDropDownChoice("approvaloficer",new Model(""));
        leaveform.add(approvalofficers);
Now when I run it gives me error that it can find the getter property
of component "approvaloficer"
Now the thing is the component is
So how do i exclude the component from the CompoundPropertyModel and
still have  it show ?
I thought i could achieve that with by passing an emppty model into
its constructor like new model?
how do i solve this??

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to