Re: Dynamic Optgroups in Wicket

2009-09-04 Thread gary black
Optgroups in Wicket To: users@wicket.apache.org Date: Tuesday, September 1, 2009, 12:03 PM Hi Gary, Hi,I am kind of new to Wicket and am having a difficult time finding some decent info on creating optgroups within selects.I basically have a structured list in my DB which in turn has children

Dynamic Optgroups in Wicket

2009-09-01 Thread gary black
Hi,I am kind of new to Wicket and am having a difficult time finding some decent info on creating optgroups within selects.I basically have a structured list in my DB which in turn has children - perfect solution would be to use dynamically generated optgroups with their children which will of

Re: Dynamic Optgroups in Wicket

2009-09-01 Thread Pedro Santos
correction: In your application u CAN populate your list of options, and pass it to an similar component. On Tue, Sep 1, 2009 at 9:07 AM, Pedro Santos pedros...@gmail.com wrote: Gary, Take a look at

Re: Dynamic Optgroups in Wicket

2009-09-01 Thread Iain Reddick
Looking at the API docs for the Select component, it would seem to be designed for more complex select situations (multi-select and optgroups). Unfortunately, I can't find any examples on using it with dynamically generated optgroups. Can anyone clarify how you would use the component like

Re: Dynamic Optgroups in Wicket

2009-09-01 Thread Eyal Golan
I'm not sure this is what you want, but have a look at this: http://www.wicket-library.com/wicket-examples/ajax/choice It's drop down with ajax. What they did is setting in the model Map of values. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: