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

        There are no subversion log entries for this issue yet.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: