RE: DropDownChoice in FormComponentPanel

2013-05-20 Thread Paul Bors
Simplest way I can think of is something like: @Override protected void onBeforeRender() { if(isValid()) { dropDown.getFormField().setDefaultModel(getDefaultModel()); } ... super.onBeforeRender(); } @Override protected void convertInput() { if(dropdown != null) {

RE: DropDownChoice in FormComponentPanel

2013-05-20 Thread Richard W. Adams
...@bors.ws To: users@wicket.apache.org Date: 05/20/2013 11:35 AM Subject:RE: DropDownChoice in FormComponentPanel Simplest way I can think of is something like: @Override protected void onBeforeRender() { if(isValid()) { dropDown.getFormField().setDefaultModel(getDefaultModel

RE: DropDownChoice in FormComponentPanel

2013-05-20 Thread Paul Bors
- From: Richard W. Adams [mailto:rwada...@up.com] Sent: Monday, May 20, 2013 12:54 PM To: users@wicket.apache.org Subject: RE: DropDownChoice in FormComponentPanel I'm not finished investigating this yet, but my preliminary findings indicate that the solution (at least in my case) is to call