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

[jira] Created: (WICKET-581) IllegalArgumentException when using ../-paths in wicket:link-area

IllegalArgumentException when using ../-paths in wicket:link-area
-----------------------------------------------------------------

                 Key: WICKET-581
                 URL: https://issues.apache.org/jira/browse/WICKET-581
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.2.6
            Reporter: Thomas Singer
             Fix For: 1.3.0


See http://www.nabble.com/autolink-problem-with-img-and-relative-path-tf3761166.html for details.

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


[jira] Commented: (WICKET-581) IllegalArgumentException when using ../-paths in wicket:link-area

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

Alastair Maw commented on WICKET-581:
-------------------------------------

For your use case you no longer need to use autolink. As of a couple of days ago in 1.3.0-incubating-SNAPSHOT, any href/src/whatever elements that are in your HTML will be prepended to make them context-relative, no matter where your page is mounted.

You can therefore just go:
<a href="screenshots/foo.png ">foo</a>
(No auto-link required.)

> IllegalArgumentException when using ../-paths in wicket:link-area
> -----------------------------------------------------------------
>
>                 Key: WICKET-581
>                 URL: https://issues.apache.org/jira/browse/WICKET-581
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.2.6
>            Reporter: Thomas Singer
>             Fix For: 1.3.0
>
>         Attachments: src.zip
>
>
> See http://www.nabble.com/autolink-problem-with-img-and-relative-path-tf3761166.html for details.

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


[jira] Resolved: (WICKET-581) IllegalArgumentException when using ../-paths in wicket:link-area

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

Alastair Maw resolved WICKET-581.
---------------------------------

    Resolution: Invalid

> IllegalArgumentException when using ../-paths in wicket:link-area
> -----------------------------------------------------------------
>
>                 Key: WICKET-581
>                 URL: https://issues.apache.org/jira/browse/WICKET-581
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.2.6
>            Reporter: Thomas Singer
>             Fix For: 1.3.0
>
>         Attachments: src.zip
>
>
> See http://www.nabble.com/autolink-problem-with-img-and-relative-path-tf3761166.html for details.

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


[jira] Updated: (WICKET-581) IllegalArgumentException when using ../-paths in wicket:link-area

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

Thomas Singer updated WICKET-581:
---------------------------------

    Attachment: src.zip

It looks like I've found a solution. See attached example project.

> IllegalArgumentException when using ../-paths in wicket:link-area
> -----------------------------------------------------------------
>
>                 Key: WICKET-581
>                 URL: https://issues.apache.org/jira/browse/WICKET-581
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.2.6
>            Reporter: Thomas Singer
>             Fix For: 1.3.0
>
>         Attachments: src.zip
>
>
> See http://www.nabble.com/autolink-problem-with-img-and-relative-path-tf3761166.html for details.

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


[jira] Commented: (WICKET-581) IllegalArgumentException when using ../-paths in wicket:link-area

Posted by "Thomas Singer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498211 ] 

Thomas Singer commented on WICKET-581:
--------------------------------------

Maybe you can update http://cwiki.apache.org/confluence/display/WICKET/autolink after fixing this problem.

> IllegalArgumentException when using ../-paths in wicket:link-area
> -----------------------------------------------------------------
>
>                 Key: WICKET-581
>                 URL: https://issues.apache.org/jira/browse/WICKET-581
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.2.6
>            Reporter: Thomas Singer
>             Fix For: 1.3.0
>
>         Attachments: src.zip
>
>
> See http://www.nabble.com/autolink-problem-with-img-and-relative-path-tf3761166.html for details.

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