You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2011/09/17 20:05:08 UTC

[jira] [Created] (WICKET-4062) Introduce wicket:link attribute in addition to wicket:link tag

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

                 Key: WICKET-4062
                 URL: https://issues.apache.org/jira/browse/WICKET-4062
             Project: Wicket
          Issue Type: New Feature
            Reporter: Igor Vaynberg
            Assignee: Igor Vaynberg


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

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

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
{code}
<a wicket:link href="MyPage.html"><img src="foo.jpg"/></a>
{code}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira