Author: jholmes Date: Thu Jul 26 08:16:40 2007 New Revision: 559849 URL: http://svn.apache.org/viewvc?view=rev&rev=559849 Log: WW-2064 XHTML checkbox template does not include tooltip consistently
Modified: struts/struts2/trunk/core/src/main/resources/template/xhtml/checkbox.ftl Modified: struts/struts2/trunk/core/src/main/resources/template/xhtml/checkbox.ftl URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/xhtml/checkbox.ftl?view=diff&rev=559849&r1=559848&r2=559849 ============================================================================== --- struts/struts2/trunk/core/src/main/resources/template/xhtml/checkbox.ftl (original) +++ struts/struts2/trunk/core/src/main/resources/template/xhtml/checkbox.ftl Thu Jul 26 08:16:40 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>