javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-3133

In f:selectItems jsp tag, attribute itemValue not working

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.6
    • Component/s: jsp
    • Labels:
      None

      Description

      Error in method com.sun.faces.taglib.jsf_core.SelectItemsTag.setProperties(UIComponent)

      if (itemValue != null) {
         component.setValueExpression("itemValue", value);
      }
      

      It should be

      if (itemValue != null) {
         component.setValueExpression("itemValue", itemValue );
      }
      

        Activity

        Hide
        Manfred Riem added a comment -

        Can you please send an example application reproducing the problem to issues@javaserverfaces.java.net? That would help us diagnosing the problem more fully. Thanks!

        Show
        Manfred Riem added a comment - Can you please send an example application reproducing the problem to issues@javaserverfaces.java.net? That would help us diagnosing the problem more fully. Thanks!
        Hide
        Ed Burns added a comment -

        SECTION: Modified Files
        ----------------------------
        M jsf-ri/src/main/java/com/sun/faces/taglib/jsf_core/SelectItemsTag.java

        • in setProperties(), establish the correct valueExpression for itemValue.

        Sending jsf-ri/src/main/java/com/sun/faces/taglib/jsf_core/SelectItemsTag.java
        Transmitting file data .
        Committed revision 12766.

        Show
        Ed Burns added a comment - SECTION: Modified Files ---------------------------- M jsf-ri/src/main/java/com/sun/faces/taglib/jsf_core/SelectItemsTag.java in setProperties(), establish the correct valueExpression for itemValue. Sending jsf-ri/src/main/java/com/sun/faces/taglib/jsf_core/SelectItemsTag.java Transmitting file data . Committed revision 12766.

          People

          • Assignee:
            Ed Burns
            Reporter:
            azugasticcr
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: