Wicket
  1. Wicket
  2. WICKET-581

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.2.6
    • Fix Version/s: 1.3.0-beta1
    • Component/s: None
    • Labels:
      None
    1. src.zip
      11 kB
      Thomas Singer

      Activity

      Hide
      Thomas Singer added a comment -

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

      Show
      Thomas Singer added a comment - It looks like I've found a solution. See attached example project.
      Hide
      Thomas Singer added a comment -

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

      Show
      Thomas Singer added a comment - Maybe you can update http://cwiki.apache.org/confluence/display/WICKET/autolink after fixing this problem.
      Hide
      Alastair Maw added a comment -

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

      Show
      Alastair Maw added a comment - 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.)

        People

        • Assignee:
          Unassigned
          Reporter:
          Thomas Singer
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development