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

Give StringValue toEnum methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.5, 6.0.0-beta1
    • 1.5.6, 6.0.0-beta2
    • wicket
    • None

    Description

      In 1.4, Resources had a ValueMap as parameters, which had among other methods #getAsEnum. In 1.5, PageParameters are used instead, and the StringValues used here have all kinds of toSomething methods, but nothing for enums. I propose adding these for completeness.

      Attachments

        1. 6.0-WICKET-4486-StringValue-toEnum.patch
          6 kB
          Carl-Eric Menzel
        2. 1.5-WICKET-4486-StringValue-toEnum.patch
          5 kB
          Carl-Eric Menzel

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            cmenzel Carl-Eric Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: