You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org> on 2007/03/12 23:07:09 UTC

[jira] Resolved: (WICKET-38) WicketTester fails when calling clickLink on a ResourceLink to a mounted resource

     [ https://issues.apache.org/jira/browse/WICKET-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Quenot resolved WICKET-38.
----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0)

Will not fix it in trunk

> WicketTester fails when calling clickLink on a ResourceLink to a mounted resource
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-38
>                 URL: https://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: Jean-Baptiste Quenot
>            Priority: Minor
>             Fix For: 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.
-
You can reply to this email to add a comment to the issue online.