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: [email protected]
For additional commands, e-mail: [email protected]