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 <[email protected]> wrote:

> Gary,
>
> Take a look at 
> wicket.markup.html.form.DropDownChoice<http://wicketstuff.org/wicket13/compref/;jsessionid=9632D2AC608C8E9715009EAA5EEBD3FF?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.DropDownChoicePage>at
> http://wicketstuff.org/wicket13/compref/
> on these examples, the option values ar not fixed in markup with no
> wicket:ids. They are passed to constructor of 2 lists that are used by 
> DropDownChoice
> component model. In your application u can't populate your list of
> options, and pass it to an similar component.
>
>
> On Tue, Sep 1, 2009 at 8:57 AM, gary black <[email protected]> wrote:
>
>> 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
>> course be option tags.All the examples containing optgroups seem to have the
>> optgroups fixed in markup with no wicket:ids.Any thoughts would be most
>> welcomed.Gary
>>
>>
>>
>
>
>

Reply via email to