I'm attempting to use a listShuttle to display a list of available users and a list of already selected users. The listShuttle lives inside a modalPanel, and when I call the modalPanel I see the listShuttle, but both sides are empty. With my current test data I'd expect to see 3 users displayed in the source side and none in the target side. I've noticed that a co-worker's similar code works correctly on her development system, but not on mine. I'm wondering if I'm missing a dependency that's preventing the source and target lists from displaying. FYI...I have log.debug() statements in my converter class that I'm not seeing, so I'm wondering if the converter isn't actually being called. Any help would be greatly appreciated! (deadline's tomorrow :-(

Yes, I'm seeing the log.debug statements being called...here's the log output from page instantiation (where the UserList constructor is called to set up the lists) through opening of the modalPanel containing the ListShuttle (the last 4 lines...each method call is made twice?):

I'm still guessing that there's a problem with my build development...I verified that the similar code my co-worker wrote (that's not working in my development environment) is working in hers. I may have her try to use my code and see if it works in her environment...if it does that's a pretty good indication that something's wrong with my environment. I'll let you know what happens.

Problem found! Turns out it was an issue with the background data. Although my users were populating in the background list correctly, another table had changed that apparently kept my seemingly unrelated data from being converted. I don't even pretend to understand why...

Unfortunately, it looks like I need to reopen this topic. There appears to be a conflict between the modalPanel and the ListShuttle inside of it. The code I posted first doesn't populate the lists of users (converter isn't called). However, if I pull the listShuttle code out of the modalPanel and display it directly on the page then the lists of users get populated (converter is called).

Not that I want to muddy the waters further, but I've noticed when I call another page that contains a listShuttle component (contents displayed correctly) then I come back to my page, then when I open the modalPanel on my page the converter gets called and my user lists are populated. Very wierd!

Do you have any sample code available showing how to properly use a listShuttle inside a modalPanel? I see from the forum that others have had difficulty with this in the past, but not the exact same problem (and those were supposedly corrected in 3.3.0GA.

More info: I realized the modalPanel code (along with the listShuttle inside it) was being instantiated outside the page's form. I moved it inside and the users are being populated correctly. I think I initially moved it outside the form because of a submit issue I was having, but I'm going to try keeping it inside for now and see if the submit issue returns.

and form also could not influence the listShuttle in such way.. please read again Nick's questions..

And about sample creation.. in order not to loose many time for background-data you could checkout rf-demo or listshuttle-sample sources from our SVN(link in my signature) and just change the page structure to yours.. Then if reproduced it will be checked faster.

To answer Nick's question, the userList managed bean is declared in faces-config. A new version of it is instantiated in the backing bean for my page and is then saved on the session. Yes, the items numbers are correct.

Ilya, after I moved the modalPanel (and listShuttle) code into my page's form I started seeing the userConverter being called. When the code was outside the form in its own ui:include the converter wasn't being called and the lists were not being populated in the listShuttle. I'm working another issue now (see below) but I'll try your sample creation idea later...

The current problem I'm seeing is that the changes I make in the listShuttle are not being propagated to the UserList managed bean. If I make a change (moving one or more users from one side to the other) and then hit my OK button to close the modalPanel, that change isn't reflected in the managed bean and I'm not able to save the change to the database. If however I reopen the modalPanel, the last changes I made are still there and I can see the set methods being called to put those values into the managed bean. It appears as though the set methods are only being called when the component opens...not when it closes. Is there a way I can force the listShuttle to update UserList when it closes?