[ 
https://issues.apache.org/jira/browse/WICKET-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588227#action_12588227
 ] 

Peter Ertl commented on WICKET-1428:
------------------------------------

this is the structure of the sample:

--markup
   
    contains file: base.js

-- markup/level1/level2/level3/page/TestPage.html

    contains this HTML

    <wicket:link>
      <script type="text/javascript" src="../../../../base.js"></script>
    </wicket:link>  

  the HTML will evaluate to:

    <script type="text/javascript" 
src="resources/markup.level1.level2.level3.page.TestPage/../../../../base.js"></script>

which seems wrong from just looking at the url in "src"

go : resources
go : markup.level1.level2.level3.page.TestPage
go : up
go : up
go : up
go : up
file : base.js



> AutoLinkResolver and Parent-Relative (../) Links
> ------------------------------------------------
>
>                 Key: WICKET-1428
>                 URL: https://issues.apache.org/jira/browse/WICKET-1428
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 1.3.2
>            Reporter: James Carman
>            Assignee: Igor Vaynberg
>             Fix For: 1.3.3
>
>         Attachments: WICKET-1428.patch, wicket-link-outside-of-package.zip
>
>
> Suppose I have a package structure like this:
> com.mycompany.myproject
> --- module1
> ------- page
> --------- Page1.html
> --- module2
> ------- page
> --------- Page2.html
> If I want to autolink from Page1.html to Page2.html, it would look like:
> <wicket:link>
>  <a href="../../module2/page/Page2.html">Click Here!</a>
> </wicket:link>
> This is not working, however.  The AutoLinkResolver spits out a warning 
> message:
> "WARN  - AutoLinkResolver           - Did not find corresponding java class: 
> .....module2.page.Page2"

-- 
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