Re: Handling NULL values in a DropDownChoice

2010-01-08 Thread Stijn Maller
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/AbstractSingleSelectChoice.html#setNullValid%28boolean%29 Kind regards, Stijn 2010/1/8 Norman Elton > I'm using a DropDownChoice to select one of a number of items loaded > from my DAO: > > DropDownChoice train_drop_down = new

Handling NULL values in a DropDownChoice

2010-01-08 Thread Norman Elton
I'm using a DropDownChoice to select one of a number of items loaded from my DAO: DropDownChoice train_drop_down = new DropDownChoice("new-train", new_audit_train, new DetachableAuditTrainsModel(this.train_dao.getList())); This works fine. But my the property I'm setting is nullable; that is, it