I don't believe you need a SelectItem list there. An ordinary collection will do.
I went more than a little insane trying to get that stuff to work, and what it seems to all boil down to is that there's no server-side storage of the model for the RichFaces orderingList. Instead, it has to be serialized to text (String) form, written to the client, then the client has to send it back again. In text form. So you need a converter that will do the job, both converting the collection to a serialized string, and reconstructing the elements from the serialized string.
An IDE is no substitute for an Intelligent Developer.
Joined: Mar 11, 2010
Thank you for your reply. I am using List<SelectItem> and i made converter that convert list in string and string back to list. But i get jsf error:
sourceId=adminForm:listShuttle[severity=(ERROR 2), summary=("Component adminForm:listShuttle has invalid value expression javax.faces.model.SelectItem@12b71eb"), detail=("Component adminForm:listShuttle has invalid value expression javax.faces.model.SelectItem@12b71eb")]
So i think the problem is in converter, when i convert string back to object value of SelectItem object.
I'll have to direct you to their examples. Not the ones in the online documentation/PDF - which don't go into details . The ones in the distributed source code. My memory isn't good enough to say for sure. But you're on the right general track.