[
https://issues.apache.org/jira/browse/WICKET-4837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Monica Nguon closed WICKET-4837.
--------------------------------
> 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
> Fix For: 1.5.9, 6.3.0
>
> Attachments: HomePage.html, HomePage.java, Screenshot1.png
>
>
> SmartLinkLabel seems to be working just fine:
> add(new SmartLinkLabel("smartLinkLabel1", "[email protected]"));
> // 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: [email protected]")); // OK
> SmartLinkMultiLineLabel does not seem to detect email addresses or URLs:
> add(new SmartLinkMultiLineLabel("smartLinkMultiLineLabel1",
> "[email protected]")); // 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",
> "[email protected]\nhttp://domain.com")); // NO HYPERLINK
> add(new SmartLinkMultiLineLabel("smartLinkMultiLineLabel6", "Email:
> [email protected]")); // 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