[ 
https://issues.apache.org/jira/browse/WICKET-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492400
 ] 

Igor Vaynberg commented on WICKET-290:
--------------------------------------

do the icons not show up because the css file is not found? or are the icons 
defined inside css? how is the css file included in the page?

> Inconsistent url generation
> ---------------------------
>
>                 Key: WICKET-290
>                 URL: https://issues.apache.org/jira/browse/WICKET-290
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.2.5
>            Reporter: Igor Vaynberg
>         Assigned To: Igor Vaynberg
>             Fix For: 1.2.6
>
>         Attachments: PageMap.java, patch.txt
>
>
> in 1.2.5 wicket inconsistently generates urls. sometimes they are 
> /context/mapping/?wicket:interface, other times they are 
> /context/mapping?wicket:interface. this causes an inconsistency in context 
> path because sometimes the mapping is part of path and sometimes its not, so 
> it makes it harder to link to static resources in in webapp root that are 
> linked to mounted pages
> eg
> mount a page on /mapping/index.html which includes style.css
> and have webapp/mapping/style.css
> when you hit the mount it is /context/mapping/index.html so to the browser it 
> looks like style.css is in the same folder, but once you click a link the 
> mapping becomes
> /context/mapping?wicket:interface and now style.css is in the wrong folder 
> because the mapping is no longer part of the path.
> attached is a patch to fix this.
> i am not sure if 1.3 is affected by this with its relative urls, almaw?

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