Hello,
Add your DDC to form and use SubmitLink instead Link.
HTH

<form wicket:id=form>
  <select wicket:id=docType />
   [click me] 
  </form>

Form<Void> form = new Form<Void>("form");
    add(form);
    form.add(getDocTypeDropDown("docType"));
    form.add(executeLink("execute"));

private SubmitLink executeLink(String id)
  {
    return new SubmitLink(id)
    {
      @Override
      public void onSubmit()
      {
        System.out.println(docType.getDokar());
      }
    };
  }


-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/problem-with-Dropdown-List-tp3013404p3014954.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to