This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-3725-remove
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 9568888700133a2ba114a3a749fe1a5b22214a7c
Author: Lukasz Lenart <[email protected]>
AuthorDate: Fri Oct 21 11:36:54 2022 +0200

    WW-3725 Removes unused template
---
 .../template/archive/xhtml/controlheader.vm        | 47 ----------------------
 1 file changed, 47 deletions(-)

diff --git a/core/src/main/resources/template/archive/xhtml/controlheader.vm 
b/core/src/main/resources/template/archive/xhtml/controlheader.vm
deleted file mode 100644
index 95a289b1b..000000000
--- a/core/src/main/resources/template/archive/xhtml/controlheader.vm
+++ /dev/null
@@ -1,47 +0,0 @@
-#*
- * $Id$
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *#
-## Only show message if errors are available.
-## This will be done if ActionSupport is used.
-#if( $fieldErrors.get($parameters.name) )
-  #set ($hasFieldErrors = $fieldErrors.get($parameters.name))
-  #foreach ($error in $fieldErrors.get($parameters.name))
-    <tr errorFor="$parameters.id">
-        #if ($parameters.labelPosition == 'top')<td align="left" valign="top" 
colspan="2">#else<td align="center" valign="top" colspan="2">#end<span 
class="errorMessage">$!struts.htmlEncode($error)</span></td>
-    </tr>
-  #end
-#end
-## if the label position is top,
-## then give the label it's own row in the table
-<tr>
-#if ($parameters.labelPosition && $parameters.labelPosition == 'top')<td 
align="left" valign="top" colspan="2">#else<td align="right" 
valign="top">#end#if ($parameters.label)<label #if ($parameters.id) 
for="$!struts.htmlEncode($parameters.id)"#end#if ($hasFieldErrors) 
class="errorLabel"#else class="label"#end>#if ($parameters.required)<span 
class="required">*</span>#end$!struts.htmlEncode($parameters.label):</label>#end</td>
-## add the extra row
-#if ($parameters.labelPosition && $parameters.labelPosition == 'top')
-</tr>
-<tr>
-#end
-#if ($parameters.form.validate && $parameters.form.validate == true)
-    #if ($parameters.onblur)
-        #set ($parameters.onblur = "validate(this);${parameters.onblur}")
-    #else
-        #set ($parameters.onblur = "validate(this)")
-    #end
-#end
-    <td>

Reply via email to