Hi,
what model is your dropDownChoice working on? Are you using a
CompoundPropertyModel?
A quickstart would help identifying the problem.
Regards
Sven
On 25.02.2015 11:39, avchavan wrote:
Code:
private DropDownChoice reportsChoice;
final ChoiceRenderer renderer = new ChoiceRenderer("value",
"key");
List reports = getAllReports();
final RapportChoices reportsChoices = new RapportChoices(reports);
this.reportsChoice = new DropDownChoice("rapportChoice",
reportsChoices, renderer);
@SuppressWarnings("unchecked")
@Override
protected void onSubmit() {
String reportName=
this.reportsChoice.getDefaultModelObjectAsString();
//reportName value comes as empty string.
It used to work with Wicket 6.13 now that i have upgraded to 6.19.0 it is
giving problem.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Dropdown-choice-with-wicket-6-19-0-tp4669757.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
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org