2 Replies Latest reply on Jan 3, 2008 9:43 AM by jucobb2

    ListShuttle Problem

      I am having a problem using the listshuttle component in version 3.1.3. I am using the example from the demo website and the demo backing bean code that goes with it. Everytime I move an element from one side to the other I get the following exception.

      org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.gradientimages.OrderingListClickedGradient

      The a4j event is not changing the components in the bean. When it does try and update the values I get another exception:

      sourceId=j_id_id239:modListShuttle[severity=(ERROR 2), summary=(j_id_id239:modListShuttle: Validation Error: Value utils.ToolBarItem@b2575b is not valid), detail=(j_id_id239:modListShuttle: Validation Error: Value utils.ToolBarItem@b2575b is not valid)];|WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.

      No matter what I do, the List of items in the bean is never updated.

        • 1. Re: ListShuttle Problem
          ilya_shaikovsky

          Unfortunatelly can't reproduce first problem. Describe your environment.

          About the second question. Make sure that you didn't removed equals and hashCode methods from the code. And also check that the converter from the demosite also used. This three points are important for list shuttle.

          • 2. Re: ListShuttle Problem

            Thanks, I did get it to work finally last night. It was the hashCode and equals methods I was missing.