Author: jholmes
Date: Thu Jul 26 08:12:01 2007
New Revision: 559846

URL: http://svn.apache.org/viewvc?view=rev&rev=559846
Log:
WW-2064 XHTML checkbox template does not include tooltip consistently

Modified:
    
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/xhtml/checkbox.ftl

Modified: 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/xhtml/checkbox.ftl
URL: 
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/xhtml/checkbox.ftl?view=diff&rev=559846&r1=559845&r2=559846
==============================================================================
--- 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/xhtml/checkbox.ftl
 (original)
+++ 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/xhtml/checkbox.ftl
 Thu Jul 26 08:12:01 2007
@@ -88,7 +88,7 @@
 </#if>
 :<#t/>
 <#if parameters.tooltip?exists>
-    <img src='<@s.url value="/struts/tooltip/tooltip.gif" includeParams="none" 
encode="false"/>' alt="${parameters.tooltip}" title="${parameters.tooltip}" 
onmouseover="return escape('${parameters.tooltip?js_string}');" />
+    <#include "/${parameters.templateDir}/xhtml/tooltip.ftl" />
 </#if>
 </label><#t/>
 </#if>
@@ -98,7 +98,7 @@
         <span class="required">*</span><#t/>
     </#if>
     <#if parameters.tooltip?exists>
-        <img src='<@s.url value="/struts/tooltip/tooltip.gif" 
includeParams="none" encode="false"/>' alt="${parameters.tooltip}" 
title="${parameters.tooltip}" onmouseover="return 
escape('${parameters.tooltip?js_string}');" />
+        <#include "/${parameters.templateDir}/xhtml/tooltip.ftl" />
     </#if>
 </#if>
     </td>


Reply via email to