You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Andrea Gandini (JIRA)" <ji...@apache.org> on 2009/01/18 18:22:45 UTC

[jira] Created: (WW-2960) Tooltip text displayed inside label body

Tooltip text displayed inside label body
----------------------------------------

                 Key: WW-2960
                 URL: https://issues.apache.org/struts/browse/WW-2960
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Tags
    Affects Versions: 2.1.6
         Environment: Mac OS X 10.5.6, tomcat 6.0.18, java 1.6.0
            Reporter: Andrea Gandini
            Priority: Minor


In theme xhtml, the tooltip text is rendered inside the label body, as 'alt="<text>"' just after the tooltip icon.

The Freemarker file ${parameters.templateDir}/xhtml/tooltip.ftl has a closing "/>" at line 38.
Removing it fixes the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WW-2960) Tooltip text displayed inside label body

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes Wannemacher closed WW-2960.
-------------------------------

    Resolution: Not A Problem

removing that closing tag will leave the IMG tag unclosed. The tooltip you are seeing is simply a img/alt tag. If you are looking for something more comprehensive, try using the jsTooltipEnabled attribute.

> Tooltip text displayed inside label body
> ----------------------------------------
>
>                 Key: WW-2960
>                 URL: https://issues.apache.org/struts/browse/WW-2960
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.1.6
>         Environment: Mac OS X 10.5.6, tomcat 6.0.18, java 1.6.0
>            Reporter: Andrea Gandini
>            Priority: Minor
>
> In theme xhtml, the tooltip text is rendered inside the label body, as 'alt="<text>"' just after the tooltip icon.
> The Freemarker file ${parameters.templateDir}/xhtml/tooltip.ftl has a closing "/>" at line 38.
> Removing it fixes the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.