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

AutoCompleteBehavior overwrites base class AbstractAutoCompleteBehavior settings variable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.5-M3
    • 1.4.15, 1.5-RC1
    • wicket-extensions
    • None
    • all

    Description

      AutoCompleteBehavior's base class AbstractAutoCompleteBehavior creates the settings
      instance variable:
      protected AutoCompleteSettings settings = new AutoCompleteSettings();

      So, this.settings has default value.

      In AutoCompleteBehavior constructor, a new AutoCompleteSettings is created if the
      settings constructor parameter is null and is used to re-set the settings instance variable.

      Attachments

        Activity

          People

            pedrosans Pedro Santos
            emberson Richard Emberson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: