0

Is it possible in the Apache Wicket Framework to add a DropDownChoice to another DropDownChoice? For example:

  • Main-Dropdown
    • First-Subdropdown
    • Second-Subdropdown

I have to categorize my values, that's why I have to do that. Otherwise its not userfriendly anymore.

I'm using Wicket 1.4.17.

Christian
  • 22,585
  • 9
  • 80
  • 106
  • 1
    It's not possible to add a ddc to another ddc but you can create a panel with 3 ddc's and by adding OnChangeAjaxBehaviors to each update the ddc's accordingly. – Robert Niestroj Mar 19 '14 at 13:09
  • Is it also not possible to add a submenu? Like this?: - Dropdown - Sub --> - Sub1 - Sub2 ? – Christian Mar 19 '14 at 13:10
  • 2
    I dont understand. Is this an option for you: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup ? – Robert Niestroj Mar 19 '14 at 13:12

0 Answers0