You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2012/10/25 13:27:12 UTC
[jira] [Resolved] (WICKET-4837) SmartLinkMultiLineLabel does not
display email addresses or web URLs as hyperlinks
[ https://issues.apache.org/jira/browse/WICKET-4837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-4837.
--------------------------------
Resolution: Fixed
Assignee: Sven Meier
Text is now parsed for links first and then line breaks are handled
> SmartLinkMultiLineLabel does not display email addresses or web URLs as hyperlinks
> ----------------------------------------------------------------------------------
>
> Key: WICKET-4837
> URL: https://issues.apache.org/jira/browse/WICKET-4837
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.8, 6.2.0
> Reporter: Monica Nguon
> Assignee: Sven Meier
> Attachments: HomePage.html, HomePage.java, Screenshot1.png
>
>
> SmartLinkLabel seems to be working just fine:
> add(new SmartLinkLabel("smartLinkLabel1", "test@domain.com")); // OK
> add(new SmartLinkLabel("smartLinkLabel2", "http://domain.com")); // OK
> add(new SmartLinkLabel("smartLinkLabel3", "https://domain.com")); // OK
> add(new SmartLinkLabel("smartLinkLabel4", "ftp://domain.com")); // OK
> add(new SmartLinkLabel("smartLinkLabel5", "Email: test@domain.com")); // OK
> SmartLinkMultiLineLabel does not seem to detect email addresses or URLs:
> add(new SmartLinkMultiLineLabel("smartLinkMultiLineLabel1", "test@domain.com")); // NO HYPERLINK
> add(new SmartLinkMultiLineLabel("smartLinkMultiLineLabel2", "http://domain.com")); // NO HYPERLINK
> add(new SmartLinkMultiLineLabel("smartLinkMultiLineLabel3", "https://domain.com")); // NO HYPERLINK
> add(new SmartLinkMultiLineLabel("smartLinkMultiLineLabel4", "ftp://domain.com")); // NO HYPERLINK
> add(new SmartLinkMultiLineLabel("smartLinkMultiLineLabel5", "test@domain.com\nhttp://domain.com")); // NO HYPERLINK
> add(new SmartLinkMultiLineLabel("smartLinkMultiLineLabel6", "Email: test@domain.com")); // NO HYPERLINK
> Tested using Wicket QuickStart (http://wicket.apache.org/start/quickstart.html):
> - Version 1.5.8: SmartLinkMultiLineLabel not working.
> - Version 6.2.0: SmartLinkMultiLineLabel not working either.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira