[ http://issues.apache.org/jira/browse/WICKET-38?page=comments#action_12448591 ] Frank Bille Jensen commented on WICKET-38: ------------------------------------------
Never mind that fix. It was a fix of something else. I haven't looked into fixing this yet. I hope to get some time sunday but if you fix it yourself patches are very welcome :) > WicketTester fails when calling clickLink on a ResourceLink to a mounted > resource > --------------------------------------------------------------------------------- > > Key: WICKET-38 > URL: http://issues.apache.org/jira/browse/WICKET-38 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.2.3, 2.0 > Reporter: Alexander Kellett > Assigned To: Frank Bille Jensen > Priority: Minor > Fix For: 2.0, 1.3 > > Attachments: WicketBugs.tgz > > > Basics of the testcase are: > {code} > // in WebApplication > application.getSharedResources().add("mountedResource", new > MountedResource()); > ResourceReference mountedResourceRef = new > ResourceReference("mountedResource"); > application.mountSharedResource("/mountedLink", > mountedResourceRef.getSharedResourceKey()); > // in WebPage > add(new ResourceLink("mountedResourceLink", new > ResourceReference("mountedResource"))); > // in testcase itself > tester.startPage(LinksPage.class); > tester.clickLink("mountedResourceLink"); > {code} > I've attached an Eclipse generated project, it has a build.xml which should > work on the command line, and uses TestNG for the tests. > The .war (which can be built using Eclipse) has working links. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
