135136137138139140141142143144145
List<String> list = new ArrayList<String>(); list.add("Field1"); IModel<?> listEditorModel = Model.ofList(list); listEditor = new ListEditor("listEditor", listEditorModel) { /** * */ private static final long serialVersionUID = 2475969581770966501L;