Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: Release 1.5.7
    • Fix Version/s: Release 1.6
    • Component/s: Tag Library
    • Labels:
    • Environment:
      All operating systems
    • Sprint:

      Description

      When a value is null and a radio button is setup with a value="" attribute the radio button is not selected.

      public MyAction extends BaseAction {
      private Integer myRadioValue;
      ...
      public Resolution brokeRadio()

      { myRadioValue = null; return new ForwardResolution("brokeradio.jsp"); }

      ...
      public Integer getMyRadioValue()

      { return myRadioValue; }

      public void setMyRadioValue(Integer myRadioValue)

      { this.myRadioValue = myRadioValue; }

      }

      <label><stripes:radio name="myRadioValue" value=""/>Null</label> <-- IS NOT SELECTED EVEN THOUGH myRadioValue is null
      <label><stripes:radio name="myRadioValue" value="1"/>1</label>
      <label><stripes:radio name="myRadioValue" value="2"/>2</label>

        Attachments

          Activity

            People

            • Assignee:
              rgrashel Rick Grashel
              Reporter:
              bgoodin Brandon Goodin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: