Re: Dropdown choice with wicket 6.19.0

2015-02-25 Thread Sven Meier

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 DropDownChoiceSomeModel reportsChoice;
final ChoiceRendererString renderer = new ChoiceRendererString(value,
key);
ListReport reports = getAllReports();
final RapportChoices reportsChoices = new RapportChoices(reports);
this.reportsChoice = new DropDownChoiceSomeModel(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



Re: Dropdown choice with wicket 6.19.0

2015-02-25 Thread avchavan
Ahh...got it working.
There was a problem with Form.java that we were using, i had forgotten to
update that file.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Dropdown-choice-with-wicket-6-19-0-tp4669757p4669760.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