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

        Issue Links

          Activity

          Monica Nguon created issue -
          Monica Nguon made changes -
          Field Original Value New Value
          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
          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.
          Monica Nguon made changes -
          Attachment HomePage.java [ 12550762 ]
          Attachment HomePage.html [ 12550763 ]
          Monica Nguon made changes -
          Attachment Screenshot1.png [ 12550764 ]
          Monica Nguon made changes -
          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.
          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:
          Monica Nguon made changes -
          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:
          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.
          Monica Nguon made changes -
          Affects Version/s 1.5.8 [ 12321662 ]
          Monica Nguon made changes -
          Affects Version/s 6.2.0 [ 12323295 ]
          Monica Nguon made changes -
          Labels smart
          Monica Nguon made changes -
          Labels smart
          Monica Nguon made changes -
          Comment [ HomePage.java and associated markup, modified from Wicket QuickStart project. ]
          Sven Meier made changes -
          Link This issue is broken by WICKET-4099 [ WICKET-4099 ]
          Sven Meier made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Sven Meier [ svenmeier ]
          Resolution Fixed [ 1 ]
          Martin Grigorov made changes -
          Fix Version/s 6.3.0 [ 12323327 ]
          Sven Meier made changes -
          Fix Version/s 1.5.9 [ 12322962 ]
          Monica Nguon made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rack jackson made changes -
          Remote Link This issue links to "web design (Web Link)" [ 12642 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development