You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Verant (JIRA)" <ji...@apache.org> on 2009/03/02 16:46:56 UTC
[jira] Created: (WICKET-2136) Css image path problem in borders
Css image path problem in borders
---------------------------------
Key: WICKET-2136
URL: https://issues.apache.org/jira/browse/WICKET-2136
Project: Wicket
Issue Type: Bug
Components: wicket
Environment: Wicket 1.4-SNAPSHOT
Windows XP SP3
Java 1.6.0_12
Tomcat 6.0.18
Reporter: Verant
Image paths are wrong coded for css background images on borders.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-2136) Css image path problem in borders
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-2136.
-----------------------------------
Resolution: Won't Fix
Assignee: Igor Vaynberg
urls in css are always processed relative to the css location. since you are inlining your css in the page images need to live in a fixed relative location next to the page - but because you are using a coding strategy that generates "viretual folders" by encoding parameters into the url path your page can shift locations and images can get out of sync. the simple fix is to put your css into a file and include that in your page. the url to the css file generated via a resourcereference should be stable.
> Css image path problem in borders
> ---------------------------------
>
> Key: WICKET-2136
> URL: https://issues.apache.org/jira/browse/WICKET-2136
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Environment: Wicket 1.4-SNAPSHOT
> Windows XP SP3
> Java 1.6.0_12
> Tomcat 6.0.18
> Reporter: Anton Veretennikov
> Assignee: Igor Vaynberg
> Attachments: BorderVariationImageTest.zip
>
>
> Image paths are wrong coded for css background images on borders.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-2136) Css image path problem in borders
Posted by "Verant (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Verant updated WICKET-2136:
---------------------------
Attachment: BorderVariationImageTest.zip
Small test
> Css image path problem in borders
> ---------------------------------
>
> Key: WICKET-2136
> URL: https://issues.apache.org/jira/browse/WICKET-2136
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Environment: Wicket 1.4-SNAPSHOT
> Windows XP SP3
> Java 1.6.0_12
> Tomcat 6.0.18
> Reporter: Verant
> Attachments: BorderVariationImageTest.zip
>
>
> Image paths are wrong coded for css background images on borders.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-2136) Css image path problem in borders
Posted by "Anton Veretennikov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679640#action_12679640 ]
Anton Veretennikov commented on WICKET-2136:
--------------------------------------------
Litral HybridUrlCodingStrategy use produces the same result.
Not only hardcoded css images are involved.
Break starts as long as parameters in a form "param0/value0...." appears in URL.
For example, if new HybridUrlCodingStrategy("/Order" is used and "/orderCode/234987" is appended then images URL became:
.../Order/orderCode/images/some.gif
instead of
.../images/some.gif
Seems that only last parameter value is stripped.
> Css image path problem in borders
> ---------------------------------
>
> Key: WICKET-2136
> URL: https://issues.apache.org/jira/browse/WICKET-2136
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Environment: Wicket 1.4-SNAPSHOT
> Windows XP SP3
> Java 1.6.0_12
> Tomcat 6.0.18
> Reporter: Anton Veretennikov
> Attachments: BorderVariationImageTest.zip
>
>
> Image paths are wrong coded for css background images on borders.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.