Hi, On Wed, Feb 8, 2012 at 8:37 AM, akiindia01 <[email protected]> wrote: > Hi, > I am new to wicket and got to do junit testing job. > > I am using wicket tester to start the panel. > > I have pagination button on my panel and i have to check the onclick > functionality for this button. > the panel has no form. > > I am using following signature to check it. > tester.clickLink("panel:paginationContainer:paginationFirst");
I don't know the structure of your panel but I guess you need to remove "panel:" prefix. > > this is throwing error : > > path "panel:paginationContainer:paginationFirst" does not exist for page > > please tell me how to access the paginationfirst button in the testpanel > > regards, > aki > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/how-to-test-the-wicket-panel-tp4368407p4368407.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
