Changeset 322 for trunk/grails-app/views


Ignore:
Timestamp:
Mar 31, 2010, 3:51:25 PM (14 years ago)
Author:
tabma
Message:
  • highlight columns which are null (unused fields and/or values could not be stored in the record because of type mismatch)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/importer/common/_postview.gsp

    r299 r322  
    2020                    <tr>
    2121                        <g:each var="field" in="${entity.giveFields()}">
     22                            <g:if test="${entity.getFieldValue(field.name)!=null}">
    2223                            <td class="header">
    2324                                <b>${field.name}</b>
    24                                 ${entity.getFieldValue(field.name)}
     25                                ${entity.getFieldValue(field.name)}                             
    2526                            </td>
     27                            </g:if>
     28                            <g:else>
     29                                <td class="valueundefined" >
     30                                    <b>${field.name}</b>
     31                                    &#215;
     32                                </td>
     33                            </g:else>
    2634                        </g:each>
    2735                    </tr>
Note: See TracChangeset for help on using the changeset viewer.