Wicket
  1. Wicket
  2. WICKET-4837

SmartLinkMultiLineLabel does not display email addresses or web URLs as hyperlinks

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8, 6.2.0
    • Fix Version/s: 1.5.9, 6.3.0
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      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.
      1. HomePage.java
        1 kB
        Monica Nguon
      2. HomePage.html
        1 kB
        Monica Nguon
      3. Screenshot1.png
        41 kB
        Monica Nguon

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Sven Meier
              Reporter:
              Monica Nguon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development