You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Wolfgang (JIRA)" <ji...@apache.org> on 2013/02/15 12:47:12 UTC

[jira] [Created] (WICKET-5041) DefaultCssAutoCompleteTextField should have Constructor (String id)

Wolfgang created WICKET-5041:
--------------------------------

             Summary: DefaultCssAutoCompleteTextField should have Constructor (String id)
                 Key: WICKET-5041
                 URL: https://issues.apache.org/jira/browse/WICKET-5041
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 6.5.0
            Reporter: Wolfgang
            Priority: Minor


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))

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira