Wicket
  1. Wicket
  2. WICKET-4062

Introduce wicket:link attribute in addition to wicket:link tag

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Sometimes there are situations where having a more fine-grained control over auto-linking is desired. for example (WICKET-3930)

      <wicket:link>
      <a href="MyPage.html"><img src="foo.jpg"/></a>
      </wicket:link>
      

      in this case wicket:link will rewrite both the href and src where only href needs to be rewritten. if we had an attribute we can rewrite the above as follows

      <a wicket:link href="MyPage.html"><img src="foo.jpg"/></a>
      

        Issue Links

          Activity

            People

            • Assignee:
              Igor Vaynberg
              Reporter:
              Igor Vaynberg
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development