You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Wouter de Vaal (JIRA)" <ji...@apache.org> on 2007/05/14 20:56:16 UTC

[jira] Created: (WICKET-567) relative paths generated incorrectly for HeaderContributor for mounted page

relative paths generated incorrectly for HeaderContributor for mounted page
---------------------------------------------------------------------------

                 Key: WICKET-567
                 URL: https://issues.apache.org/jira/browse/WICKET-567
             Project: Wicket
          Issue Type: Bug
          Components: wicket
            Reporter: Wouter de Vaal
             Fix For: 1.3.0


I have a page that is mounted as /admin/signin
When adding a css contribution like this:

	@Override
	protected void onAttach() {
		super.onAttach();
		add(HeaderContributor.forCss("style-ifd.css"));
	}

The added contribution is rendered like this:
<link rel="stylesheet" type="text/css" href="../../style-ifd.css" />

So that is a ../ too many.

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


[jira] Assigned: (WICKET-567) relative paths generated incorrectly for HeaderContributor for mounted page

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Compagner reassigned WICKET-567:
--------------------------------------

    Assignee: Alastair Maw

our url expert!

> relative paths generated incorrectly for HeaderContributor for mounted page
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-567
>                 URL: https://issues.apache.org/jira/browse/WICKET-567
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Wouter de Vaal
>         Assigned To: Alastair Maw
>             Fix For: 1.3.0
>
>
> I have a page that is mounted as /admin/signin
> When adding a css contribution like this:
> 	@Override
> 	protected void onAttach() {
> 		super.onAttach();
> 		add(HeaderContributor.forCss("style-ifd.css"));
> 	}
> The added contribution is rendered like this:
> <link rel="stylesheet" type="text/css" href="../../style-ifd.css" />
> So that is a ../ too many.

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


[jira] Updated: (WICKET-567) relative paths generated incorrectly for HeaderContributor for mounted page

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-567:
--------------------------------

        Fix Version/s:     (was: 1.3.0)
                       1.3.0-rc1
    Affects Version/s: 1.3.0

> relative paths generated incorrectly for HeaderContributor for mounted page
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-567
>                 URL: https://issues.apache.org/jira/browse/WICKET-567
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0
>            Reporter: Wouter de Vaal
>         Assigned To: Alastair Maw
>             Fix For: 1.3.0-rc1
>
>
> I have a page that is mounted as /admin/signin
> When adding a css contribution like this:
> 	@Override
> 	protected void onAttach() {
> 		super.onAttach();
> 		add(HeaderContributor.forCss("style-ifd.css"));
> 	}
> The added contribution is rendered like this:
> <link rel="stylesheet" type="text/css" href="../../style-ifd.css" />
> So that is a ../ too many.

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


[jira] Resolved: (WICKET-567) relative paths generated incorrectly for HeaderContributor for mounted page

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw resolved WICKET-567.
---------------------------------

    Resolution: Fixed

Fixed this in r540579.

> relative paths generated incorrectly for HeaderContributor for mounted page
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-567
>                 URL: https://issues.apache.org/jira/browse/WICKET-567
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0
>            Reporter: Wouter de Vaal
>         Assigned To: Alastair Maw
>             Fix For: 1.3.0-beta2
>
>
> I have a page that is mounted as /admin/signin
> When adding a css contribution like this:
> 	@Override
> 	protected void onAttach() {
> 		super.onAttach();
> 		add(HeaderContributor.forCss("style-ifd.css"));
> 	}
> The added contribution is rendered like this:
> <link rel="stylesheet" type="text/css" href="../../style-ifd.css" />
> So that is a ../ too many.

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