ICEfaces
  1. ICEfaces
  2. ICE-1714

empty-string itemValue in selectItem causes client response to contain value of the option label instead of options value field

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Tomcat 5.5, Java 1.5, Windows XP, Sun JSF-RI 1.1

      Description

      <f:selectItem itemLabel="empty" itemValue=""/>

      The rendered html code contains <option value="">empty</option> correctly, but in the MenuRenderer.decode it recieves "empty" as value of the selection. So that the request contains incorrect value.

      I think there could be some application logic in the client side (js code), that replaces emtpy value with the option's text node's contents...
       

        Activity

        Vajk Hermecz created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 1.7.1 [ 10122 ]
        Assignee Priority P3
        Assignee Mark Collette [ mark.collette ]
        Priority Major [ 3 ] Minor [ 4 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.1 [ 10122 ]
        Hide
        Ken Fyten added a comment -

        This seems to be fixed as of 1.7.0.

        Show
        Ken Fyten added a comment - This seems to be fixed as of 1.7.0.
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7 [ 10080 ]
        Assignee Priority P3
        Resolution Fixed [ 1 ]
        Assignee Mark Collette [ mark.collette ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Vajk Hermecz
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: