You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/12/12 13:49:00 UTC

[jira] [Commented] (OFBIZ-12697) Hyperlink: support title attribute

    [ https://issues.apache.org/jira/browse/OFBIZ-12697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17646105#comment-17646105 ] 

ASF subversion and git services commented on OFBIZ-12697:
---------------------------------------------------------

Commit b6e202b0ab75a8511ad29c3a89d0f2f6cc574ae5 in ofbiz-framework's branch refs/heads/release22.01 from Daniel Watford
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=b6e202b0ab ]

Fixed: Support title attribute on hyperlinks (OFBIZ-12697)


> Hyperlink: support title attribute
> ----------------------------------
>
>                 Key: OFBIZ-12697
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12697
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: 22.01.01, Upcoming Branch
>            Reporter: Florian Motteau
>            Priority: Minor
>
> 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`.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)