new ichoicerenderer<string> { object getid(string object, int index) { return object; } string getdisplayvalue(string object) { return object; } }
-igor On Fri, May 8, 2009 at 2:19 PM, Chris <ch...@carlsoncentral.com> wrote: > List test = Arrays.asList(new String[] { "A", "B", "C" }); > add(new DropDownChoice("test", test)); > > How can I make the Id's match the Values? There coming through as 1,2,3. > I've tried custom ChoiceRenderer, but seem to be missing something. > > Any help is appreciated. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org