2012/9/5 Markward Schubert <>:
> Hi folks!
> I am sure this is a trivial question, but i am simply too dumb to figure
> this out.
> We have a DopDownChoice, which is prefilled by some modelvalue, given to
> the page.
> Until now i was doing some testing about the model-state before and after
> submitting, which then was correct.
> The problem in the browser was, that the rendered DropDownChoice did  not
> show the preselected value correctly. It could not recognize the equality
> between some member of the available choices and the model's choice.
> Actually it turned out that it was a problem with the model object's
> equals.
> Now my question is:
> What is the most elegant way to unit test the correct rendering of the
> preselection of the DropDownChoice or similar components?
> As said, simply dealing with sumbmit and stuff worked correctly.
> Regards,
> Markward

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to