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

DefaultCssAutoCompleteTextField should have Constructor (String id)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.7.0
    • Component/s: wicket-extensions
    • Labels:
      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

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              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