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

Frank Bille Jensen updated WICKET-1880:
---------------------------------------

    Fix Version/s:     (was: 1.4-M3)

> wicket:link, markup inheritance and packages
> --------------------------------------------
>
>                 Key: WICKET-1880
>                 URL: https://issues.apache.org/jira/browse/WICKET-1880
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Adriano dos Santos Fernandes
>            Assignee: Igor Vaynberg
>
> I've created a BasePage.html/java in directory/package mm.sistema.web. Its 
> body is:
>    <body>
>    <wicket:link>
>        <a href="HomePage.html">Home</a>
>        <a href="adm/ADM0190F.html">ADM0190F</a>
>    </wicket:link>
>    <br />
>    <br />
>    <wicket:child />
>    </body>
> In same directory I have the HomePage.html, with this body:
>    <body>
>    <wicket:extend>
>    </wicket:extend>
>    </body>
> So far, so good. But my mm.sistema.web.adm.ADM0190F inherits from BasePage. 
> When rendering it, an error happens:
>    java.lang.NoClassDefFoundError: IllegalName: mm/sistema/web/HomePage
>    java.lang.ClassLoader.preDefineClass(ClassLoader.java:476)
>    java.lang.ClassLoader.defineClass(ClassLoader.java:614)
>    ...
> Note llegalName is HomePage. It seems Wicket tries to locate things in wrong 
> place.
> If I use BookmarkablePageLink it works correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to