Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5041

DefaultCssAutoCompleteTextField should have Constructor (String id)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.5.0
    • 6.7.0
    • wicket-extensions
    • 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))

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            wolfman22 Wolfgang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified