Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1760

RadioGroup should support string values when value is the enum type

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3, 5.4
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      <t:radio t:id="radio1" t:value="literal:MYENUMVALUE" />

      "MYENUMVALUE" should be equivalent to the actual MYENUMVALUE enum value

      There is a TODO already in the RadioGroup component:

      public String toClient(Object value)

      { // TODO: Ensure that value is of the expected type? return encoder.toClient(value); }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              denis.stepanov Denis Stepanov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: