) listView.get(0); to get the
ListItem, then you can go ahead.
--
View this message in context:
http://www.nabble.com/Unit-testing-ListView-tp12631265p21157383.html
Sent from the Wicket - User mailing list archive at Nabble.com
On 9/12/07, pokkie [EMAIL PROTECTED] wrote:
I am trying to write a test case for my listView that contains some links.
When the user clicks on
a link, a certain action should be performed, and it is for this action that
I wish to write a test case for.
I can get a handle on the ListView by
(listItem);
// Execute ajax event
wicketTester.executeAjaxEvent(pathToLinkOnListView,onclick);
Would be greatful if somebody could advise me on how to proceed.
Thanks,
-- pokkie
--
View this message in context:
http://www.nabble.com/Unit-testing-ListView-tf4427848.html#a12631265