Because bookmarkable page links do not 'post back' to the server but instead they refer to bookmarkable pages they can't be called as links from WicketTester, right?
Eelco On 11/23/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > sorry, but I do not understand the question. What is the bug? > > Juergen > > On 11/23/05, Eduardo Rocha <[EMAIL PROTECTED]> wrote: > > I am having problems with WicketTester.clickLink(..) when the link is > > a BookmarkablePageLink. > > > > At first, if the link is a bookmarkable one, I don't need to test it, > > since I can test the page alone. > > > > But I was think in the following: if my link was simple Link subclass, > > and I had a test for it: > > > > add(new Link("myLink") { > > public void onClick() { > > setResponsePage(new MyPage()); > > } > > } > > > > tester.clickLink("myLink"); > > tester.assertRenderedPage(MyPage.class); > > > > so I choose to replace it for a bookmarkable link, and run the > > regression test. The test will fail, because "clickLink(..)" doesn't > > work with BookmarkablePageLink. That way, I would have to remove the > > "clickLink(..)" test. > > > > Do people agree it is a bug? > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > > Register for a JBoss Training Course. Free Certification Exam > > for All Training Attendees Through End of 2005. For more info visit: > > http://ads.osdn.com/?ad_idv28&alloc_id845&opclick > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_idv28&alloc_id845&opclick > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user