1 Reply Latest reply on Mar 16, 2008 12:38 PM by yohanliyanage

    ListShuttle and List<String>

    yohanliyanage

      Hi,

      I am a newbie to RichFaces/JSF. I tried to use ListShuttle in one of my pages and I met this problem. I have a backing bean, which exposes a method called getTags() which returns a List.

      I used the sourceValue attribute of ListShuttle to set this to my bean property.

      However, when I run the project on Tomcat, I cannot see the list of Strings. However, I noticed that there are some empty items in the list boxes. I can click them and copy, but the orginal text is not there.

      What is the problem here?

      Thanks a lot.

        • 1. Re: ListShuttle and List<String>
          yohanliyanage

          Oops. The generics part of my question seems to be missing because of mis-interpretion for HTML tags. In my question, by "List" I mean a java.util.List with Strings. I used generics to imply that it is of Strings, but that part is missing in the post.