ValueListBox Editor decorator

177 views
Skip to first unread message

Steve

unread,
Aug 22, 2012, 8:16:42 AM8/22/12
to google-we...@googlegroups.com
Hi

I'm trying to figure out how to wrap a ValueListBox with a decorator for my editors. As ValueListBox is not a ValueBox then the standard ValueBoxEditorDecorator doesn't work. Has anyone managed to come up with a way of doing this?

Thanks

Steve

Alex opn

unread,
Aug 22, 2012, 10:11:15 AM8/22/12
to google-we...@googlegroups.com
This is my approach:

https://gist.github.com/3425954

As you can see its basically a copy of the ValueBox decorator but with <TakesValueEditor<T>> as generic type (Had no time to clean it up yet so don't wonder about the wrong JavaDocs). Don't know if it's a good approach but it works for me so far.

HTH

Steve

unread,
Aug 23, 2012, 3:12:21 AM8/23/12
to google-we...@googlegroups.com
Great, just what I was looking for!

Thanks for your help!

Steve
Reply all
Reply to author
Forward
0 new messages