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

        

Reply via email to