0 Replies Latest reply on Nov 18, 2011 6:28 AM by Antti Tirkkonen

    Richfaces 4.1.M4 orderingList problem

    Antti Tirkkonen Newbie

      Hi,

      Just started to try out the 4.1.M4. For some reason the old code that worked with 3.3 is not working anymore.

      Ordering list itself seems to work when showing & reordering but when I try to save the form exception is thrown.

       

      Caused by: javax.el.PropertyNotFoundException: /foo.xhtml @107,58 value="#{dto.checked}": Target Unreachable, identifier 'dto' resolved to null

      13:18:28,369 ERROR [STDERR]           at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:130)

      13:18:28,369 ERROR [STDERR]           at javax.faces.component.UIInput.updateModel(UIInput.java:813)

      13:18:28,369 ERROR [STDERR]           ... 78 more

       

       








      <rich:orderingList var="dto" id="olist"








      value="#{locationBackBean.services}"








      topControlLabel="#{msg.firstLabel}"








      bottomControlLabel="#{msg.lastLabel}"








      upControlLabel="#{msg.upLabel}"








      converter="serviceConverter"








      downControlLabel="#{msg.downLabel}" listHeight="300px"








      listWidth="250px">








      <rich:column>









      <f:facet name="header">










      <h:outputText value="#{msg.selectedLabel}" />









      </f:facet>









      <h:selectBooleanCheckbox value="#{dto.checked}">

       

       










      </h:selectBooleanCheckbox>








      </rich:column>








      <rich:column>









      <f:facet name="header">










      <h:outputText value="#{msg.nameLabel}" />









      </f:facet>









      <h:outputText value="#{dto.service.name}" />








      </rich:column>







      </rich:orderingList>

       

      Is this a bug or some changes needed into my code?

      Thanks in advance!