7 Replies Latest reply on May 15, 2013 8:06 AM by Alexey Shakov

    RF4: problem with rich:orderingList and converter

    Alexey Shakov Newbie

      Hello,

       

      i use rich:orderingList to represent the list of objects. Name of each object is a command link. When clicking the link, the corresponding object must be passed in java bean using setter method.

       

       

      <rich:orderingList value="#{bean.objects}" var="object" converter="someConverter">
          <rich:column>
            <f:facet name="header">
              <h:outputText value="Objects" />
            </f:facet>
            <a4j:commandLink value="#{object.name}">
              <f:setPropertyActionListener value="#{object}" target="#{bean.selectedObject}" />
            </a4j:commandLink>
          </rich:column>
        </rich:orderingList>
      

       

      Re-ordering of objects works perfectly. The problem is object selection - null is always passed in java bean setter method.

       

      With RF3.3.x this snippet worked correctly.

       

      What am i doing wrong?

       

      Thanks for any help,

       

      Alexey