Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79FBB1809E for ; Tue, 27 Oct 2015 08:05:37 +0000 (UTC) Received: (qmail 2761 invoked by uid 500); 27 Oct 2015 08:05:27 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 2722 invoked by uid 500); 27 Oct 2015 08:05:27 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 2703 invoked by uid 99); 27 Oct 2015 08:05:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2015 08:05:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AAE852C1F57 for ; Tue, 27 Oct 2015 08:05:27 +0000 (UTC) Date: Tue, 27 Oct 2015 08:05:27 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-4556) In theme simple, move form-close.ftl tooltip code into own file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4556: ------------------------------ Fix Version/s: 2.5 > 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/> > <#lt/> > <#lt/>"/> > > <#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)