Hi Victor Can you provide more info? E.g. How your are defining your palette? Or the exception you get? Without more information there is little else I can suggest...
Best, Ernesto On Thu, Dec 31, 2009 at 6:09 PM, victorTrapiello <[email protected]>wrote: > > Hello Eranesto, > I was trying to use the method ("getselectedChoices"), but I´m facing more > problems, look a simple example: > > Iterator iter = palette.getSelectedChoices(); > while (iter.hasNext()) { > System.out.println(iter.next()); > } > > it only prints the first choice, an them it throws an error exception, > > Any other suggestion¿? thank you very much guys happy new year!!!!!! > > > > > reiern70 wrote: > > > > Did you tried Palette.getSelectedChoices() method? It will return an > > Iterator<T> where T is the type of Model object. > > > > Ernesto > > > > On Tue, Dec 29, 2009 at 8:09 PM, victorTrapiello > > <[email protected]>wrote: > > > >> > >> Hello guys I´m new in the Wicket world, I´m developing an online > >> application > >> with my development team, we are using the component "Palette", we > >> display > >> the palette on the screen but we can´t/ we do not know how to get the > >> list > >> of choices that we have selected, we have tried like in the example > with: > >> > >> palette.getModelObjectAsString()); > >> > >> but it seems our IDE does not recognize this... we have imported all of > >> the > >> libraries.... > >> > >> any help¿? > >> > >> Thanks very much in advance > >> > >> Regards. > >> -- > >> View this message in context: > >> > http://old.nabble.com/Repost%3A-Track-selected-entries-in-either-of-a-Palette%27s-Choices-components--tp26922651p26958594.html > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/Repost%3A-Track-selected-entries-in-either-of-a-Palette%27s-Choices-components--tp26922651p26980336.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
