[MRM-1111] use default template and caching mechanism now. Old templates were omitting any text from hyperlinks.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091473 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2011-04-12 15:36:18 +00:00
parent 465c52bdca
commit 5b9f93dbe9
6 changed files with 1 additions and 52 deletions

View File

@ -21,6 +21,7 @@
struts.mapper.class = org.apache.maven.archiva.web.mapper.RepositoryActionMapper
struts.objectFactory = org.codehaus.plexus.spring.Struts2PlexusInSpringObjectFactory
struts.url.includeParams = none
struts.freemarker.templatesCache=true
#struts.devMode = true
struts.configuration.xml.reload=true

View File

@ -1,22 +0,0 @@
<a<#rt/>
<#if parameters.id?if_exists != "">
id="${parameters.id?html}"<#rt/>
</#if>
<#if parameters.href?if_exists != "">
href="${parameters.href}"<#rt/>
</#if>
<#if parameters.tabindex?exists>
tabindex="${parameters.tabindex?html}"<#rt/>
</#if>
<#if parameters.cssClass?exists>
class="${parameters.cssClass?html}"<#rt/>
</#if>
<#if parameters.cssStyle?exists>
style="${parameters.cssStyle?html}"<#rt/>
</#if>
<#if parameters.title?exists>
title="${parameters.title?html}"<#rt/>
</#if>
<#include "/${parameters.templateDir}/simple/scripting-events.ftl" />
<#include "/${parameters.templateDir}/simple/common-attributes.ftl" />
><#rt/>

View File

@ -1,7 +0,0 @@
<#if (actionErrors?exists && actionErrors?size > 0)>
<ul>
<#list actionErrors as error>
<li><span class="errorMessage">${error}</span></li>
</#list>
</ul>
</#if>

View File

@ -1,7 +0,0 @@
<#if (actionMessages?exists && actionMessages?size > 0)>
<ul>
<#list actionMessages as message>
<li><span class="actionMessage">${message}</span></li>
</#list>
</ul>
</#if>

View File

@ -1,15 +0,0 @@
<input type="hidden"<#rt/>
name="${parameters.name?default("")?html}"<#rt/>
<#if parameters.nameValue?exists>
value="<@s.property value="parameters.nameValue"/>"<#rt/>
</#if>
<#if parameters.id?exists>
id="${parameters.id?html}"<#rt/>
</#if>
<#if parameters.cssClass?exists>
class="${parameters.cssClass?html}"<#rt/>
</#if>
<#if parameters.cssStyle?exists>
style="${parameters.cssStyle?html}"<#rt/>
</#if>
/>