You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/01/16 13:12:45 UTC

[jira] Created: (WICKET-3337) Url to the home page is not correct when the current base url has only one segment

Url to the home page is not correct when the current base url has only one segment
----------------------------------------------------------------------------------

                 Key: WICKET-3337
                 URL: https://issues.apache.org/jira/browse/WICKET-3337
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-M3
            Reporter: Martin Grigorov


The link "go back" in all Ajax examples in wicket-examples is not correct.
In details:
 1) current base url looks like : autocomplete?0 (i.e. one segment + one query parameter)
 2) "go back" points to the application home page (Index.class)
 3) RequestCycle.mapUrlFor(IRequestHandler) creates Url("") for the home page
 4) UrlRenderer.renderUrl(homePageUrl) incorrectly returns "" instead of "." for this input

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


[jira] Assigned: (WICKET-3337) Url to the home page is not correct when the current base url has only one segment

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

Martin Grigorov reassigned WICKET-3337:
---------------------------------------

    Assignee: Martin Grigorov

> Url to the home page is not correct when the current base url has only one segment
> ----------------------------------------------------------------------------------
>
>                 Key: WICKET-3337
>                 URL: https://issues.apache.org/jira/browse/WICKET-3337
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>
> The link "go back" in all Ajax examples in wicket-examples is not correct.
> In details:
>  1) current base url looks like : autocomplete?0 (i.e. one segment + one query parameter)
>  2) "go back" points to the application home page (Index.class)
>  3) RequestCycle.mapUrlFor(IRequestHandler) creates Url("") for the home page
>  4) UrlRenderer.renderUrl(homePageUrl) incorrectly returns "" instead of "." for this input

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


[jira] Resolved: (WICKET-3337) Url to the home page is not correct when the current base url has only one segment

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

Martin Grigorov resolved WICKET-3337.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC1

Fixed with r1059546

> Url to the home page is not correct when the current base url has only one segment
> ----------------------------------------------------------------------------------
>
>                 Key: WICKET-3337
>                 URL: https://issues.apache.org/jira/browse/WICKET-3337
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 1.5-RC1
>
>
> The link "go back" in all Ajax examples in wicket-examples is not correct.
> In details:
>  1) current base url looks like : autocomplete?0 (i.e. one segment + one query parameter)
>  2) "go back" points to the application home page (Index.class)
>  3) RequestCycle.mapUrlFor(IRequestHandler) creates Url("") for the home page
>  4) UrlRenderer.renderUrl(homePageUrl) incorrectly returns "" instead of "." for this input

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