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

Null value in RadioGroup returns the string "on"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Abandoned
    • 5.0.15
    • None
    • None
    • None
    • Linux 2.6.24
      Sun JDK 6

    Description

      When using a null value on a radio button, or a value the gets ValueEncoded to null, the value gets submitted to the server as "on". The value should come back null, or at least as an empty String. I have no idea how "on" is getting submitted instead of the correct value.

      To test:
      1) Create radio group with a few radio components in it.
      2) Make one of these radio buttons have value="null".
      3) Submit form and watch as you get the String "on" returned instead of null.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            shentalus Dave Dombrosky
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: