I need to test drop down values in a list using WicketTester ... like is
there wicketTester.assertXXX or something that i could use ? I tried
getTagByWicketId("some_thing_").getValue() but it only gives me the HTML for
it ...

my drop down is something like

add(dChoice = new DropDownChoice("someModelClassChoice",new
CompoundPropertyModel(SomeModelClass.class),
Arrays.<String>asList("MODEL0","MODEL1","MODEL2")){

            @Override
            protected boolean wantOnSelectionChangedNotifications() {
                return true;

            }

            @Override
            protected void onSelectionChanged(Object newSelection) {
                System.out.println(" Something happened");
                params.put("Selected", newSelection);
                setResponsePage(new WelcomePage(params));

            }
        });

My apologies if the question is a little dumb ...

Regards
Vyas, Anirudh
|| ॐ ||

Reply via email to