Subversion Repositories Sigmater

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 Andrea 1
<#--
2
/*
3
 * $Id: Action.java 502296 2007-02-01 17:33:39Z niallp $
4
 *
5
 * Licensed to the Apache Software Foundation (ASF) under one
6
 * or more contributor license agreements.  See the NOTICE file
7
 * distributed with this work for additional information
8
 * regarding copyright ownership.  The ASF licenses this file
9
 * to you under the Apache License, Version 2.0 (the
10
 * "License"); you may not use this file except in compliance
11
 * with the License.  You may obtain a copy of the License at
12
 *
13
 *  http://www.apache.org/licenses/LICENSE-2.0
14
 *
15
 * Unless required by applicable law or agreed to in writing,
16
 * software distributed under the License is distributed on an
17
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
 * KIND, either express or implied.  See the License for the
19
 * specific language governing permissions and limitations
20
 * under the License.
21
 */
22
-->
23
<#if parameters.tooltip?exists><#t/>
24
	  <#assign tooltipHashCode=parameters.tooltip.hashCode() />
25
      <img id="_tt${tooltipHashCode?string('#')}"
26
      <#if parameters.tooltipIcon?exists><#t/>
27
      	src='<@s.url value="${parameters.tooltipIcon}" includeParams="none" encode="false" />'
28
      <#else><#t/>
29
      	src='<@s.url value="/struts/dojo/struts/tooltip.gif" includeParams="none" encode="false" />'
30
      </#if><#t/>
31
      	alt="${parameters.tooltip?html}" 
32
      	title="${parameters.tooltip?html}" />
33
      <#if parameters.jsTooltipEnabled?default('false') == 'true'>
34
      <span dojoType="tooltip" connectId="_tt${tooltipHashCode?string('#')}"
35
          <#if parameters.tooltipToggle?exists><#t/>
36
        	<#t/>toggle="${parameters.tooltipToggle}"<#t/>
37
          </#if><#t/>
38
          <#if parameters.tooltipToggleDuration?exists><#t/>
39
        	<#t/>toggleDuration="${parameters.tooltipToggleDuration}"<#t/>
40
          </#if><#t/>
41
          <#if parameters.tooltipDelay?exists><#t/>
42
          	<#t/>delay="${parameters.tooltipDelay}"<#t/>
43
          </#if><#t/>
44
          caption="${parameters.tooltip}"></span>
45
     </#if>
46
</#if><#t/>