Re: using a custom Converter for elements of a Collection

2011-01-13 Thread Scott Koenig
I was able to find a solution by creating a second converter, PlaylistsConverter, which returns a List of Playlists instead: public Object convertFromString(Map arg0, String[] arg1, Class arg2) { if (arg1.length 0 arg1[0].trim() != ) { ListPlaylist playlists = new

using a custom Converter for elements of a Collection

2011-01-12 Thread Scott Koenig
Hello, In my company's internal CMS, we are implementing two new asset types, Videos and Playlists (collections of Videos). In the Video UI, the user designates which Playlists are to be associated with a given Video, and these values are posted on save via an array called playlists which

Re: using a custom Converter for elements of a Collection

2011-01-12 Thread stanlick
Can we see your related files? On Wed, Jan 12, 2011 at 3:43 PM, Scott Koenig scott.l.koe...@gmail.comwrote: Hello, In my company's internal CMS, we are implementing two new asset types, Videos and Playlists (collections of Videos). In the Video UI, the user designates which Playlists are to