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

AbstractSingleChoice: components can't have specific null or nullValid messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.5
    • 1.3.0-beta2
    • wicket
    • None

    Description

      AbstractSingleChoice, and thus DropDownChoice, accesses null and nullValid messages like this:

      final String option = getLocalizer().getString("nullValid", this, "");
      final String option = getLocalizer().getString("null", this, CHOOSE_ONE);

      So only the keys "null" and "nullValid" are checked in the relevant properties file. Wicket should provide for null/nullValid messages for specific components using the following keys:

      componentId.null
      componentId.nullValid

      Attachments

        Activity

          People

            Unassigned Unassigned
            cfmdobbie Charlie Dobbie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: