On Tue, 02 Dec 2008, ulrik wrote:
> I'm using the Inmethod DataGrid in my application.
> I would like to test it's functionality with WicketTester. I have run into
> some problems though. How do I simulate clicking on a row in the DataGrid
> from the WicketTester?

I'm not familiar with DataGrid, but if it has Wicket Ajax behaviours
bound to "onclick" javascript event, probably with

  wicketTester.executeAjaxEvent(wicketComponentOfRow, "onclick");

See the DataGrid source code to find out to which components
the ajax behaviours are bound.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to