Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12697

Hyperlink: support title attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 22.01.01, Upcoming Branch
    • 22.01.01
    • None
    • None

    Description

      The `hyperlink` widget can have a `title` attribute, but this attribute is not rendered as an HTML `title` attribute on the rendered `a` :

      `<hyperlink target="myUrl" description="text content for the rendered 'a'" title="tooltip content">`

      ...renders like :

      `<a href="myUrl">text content for the rendered 'a'</a>`

      ...whereas one can assume that the title attribute will be used like so :

      `<a href="myUrl" title="tooltip content">text content for the rendered 'a'</a>`

      ...so when hovering the link, we get a browser tooltip.

      It would be nice to make the `title` attribute for `hyperlink` (which is already present in the XSD) to be rendered as a `title` HTML attribute on the link, using a `FlexibleStringExpander`.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              FloMo Florian Motteau
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: