[
https://issues.apache.org/jira/browse/WW-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982236#comment-14982236
]
Hudson commented on WW-4556:
----------------------------
SUCCESS: Integrated in Struts-JDK7-master #381 (See
[https://builds.apache.org/job/Struts-JDK7-master/381/])
WW-4556 Extracts tooltips into dedicated template file (cherry picked
(lukaszlenart: rev 5bf1b62dd3e53e230d8a6ba63bfe22037591c691)
* core/src/main/resources/template/simple/form-close.ftl
* core/src/main/resources/template/simple/form-close-tooltips.ftl
> In theme simple, move form-close.ftl tooltip code into own file
> ---------------------------------------------------------------
>
> Key: WW-4556
> URL: https://issues.apache.org/jira/browse/WW-4556
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tags
> Affects Versions: 2.3.24
> Reporter: Jasper Rosenberg
> Priority: Minor
> Labels: simple, theme, tooltip
> Fix For: 2.3.25, 2.5
>
>
> I'd like to be able to turn off the struts tooltip js/css without having to
> override the whole form-close.ftl file. This would be particularly useful
> when using the bootstrap plugin since I'm already importing tooltip js/css as
> part of my bootstrap js/css.
> I'd just move the block
> {code}
> <#--
> Code that will add javascript needed for tooltips
> --><#t/>
> <#if (parameters.hasTooltip?default(false))><#t/>
> <#lt/><!-- javascript that is needed for tooltips -->
> <#lt/><script type="text/javascript" src='<@s.url
> value="/struts/domTT.js" includeParams="none" encode="false" />'></script>
> <#lt/><link rel="stylesheet" type="text/css" href="<@s.url
> value="/struts/domTT.css" includeParams="none" encode="false" />"/>
>
> </#if><#t/>
> {code}
> to a file like form-close-tooltips.ftl
> And replace it in form-close.ftl with
> {code}
> <#include
> "/${parameters.templateDir}/${parameters.expandTheme}/form-close-tooltips.ftl"
> />
> {code}
> Thanks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)