Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
6.5.0
-
None
Description
When using a Form with CompoundPropertyModel
you can add TextFields like:
form.add(new TextField<String>("name"));
without giving the model explicite,
The DefaultCssAutoCompleteTextField has only one Constructor:
public DefaultCssAutoCompleteTextField(final String string, final IModel<T> model)
as the workaround I use
form.add(new DefaultCssAutoCompleteTextField<String>("name",null))