Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6 | Andrea | 1 | <#-- |
2 | /* |
||
3 | * $Id: actionerror.ftl 805635 2009-08-19 00:18:54Z musachy $ |
||
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 (actionErrors?? && actionErrors?size > 0)> |
||
24 | <div style="border:2px solid red;"> |
||
25 | <img src="images/errore.png" width="30px" height="30px"/> <strong style="font-size:15px;">ERRORE</strong> |
||
26 | |||
27 | |||
28 | |||
29 | <ul<#rt/> |
||
30 | <#if parameters.id?if_exists != ""> |
||
31 | id="${parameters.id?html}"<#rt/> |
||
32 | </#if> |
||
33 | <#if parameters.cssClass??> |
||
34 | class="${parameters.cssClass?html}"<#rt/> |
||
35 | <#else> |
||
36 | class="errorMessage"<#rt/> |
||
37 | </#if> |
||
38 | <#if parameters.cssStyle??> |
||
39 | style="${parameters.cssStyle?html}"<#rt/> |
||
40 | </#if> |
||
41 | > |
||
42 | <#list actionErrors as error> |
||
43 | <#if error?if_exists != ""> |
||
44 | <li><span><#if parameters.escape??>${error!?html}<#else>${error!}</#if></span><#rt/></li><#rt/> |
||
45 | </#if> |
||
46 | </#list> |
||
47 | </ul> |
||
48 | </div> |
||
49 | |||
50 | </#if> |