Ignore:
Timestamp:
Oct 22, 2009, 8:26:09 PM (15 years ago)
Author:
gav
Message:

Add Department domain class, controller, views and demo data.
Add costCode and department attributes to SystemSection? and regen non-detailed controller and views, adjust detailed views to suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/systemSection/list.gsp

    r151 r162  
    2424                                <g:sortableColumn property="id" title="Id" />
    2525                       
     26                                <g:sortableColumn property="costCode" title="Cost Code" />
     27                       
     28                                <th>Department</th>
     29                           
    2630                                <g:sortableColumn property="description" title="Description" />
    2731                       
     
    3034                                <g:sortableColumn property="name" title="Name" />
    3135                       
    32                                 <th>Site</th>
    33                            
    3436                        </tr>
    3537                    </thead>
     
    4042                            <td><g:link action="show" id="${systemSectionInstance.id}">${fieldValue(bean:systemSectionInstance, field:'id')}</g:link></td>
    4143                       
     44                            <td>${fieldValue(bean:systemSectionInstance, field:'costCode')}</td>
     45                       
     46                            <td>${fieldValue(bean:systemSectionInstance, field:'department')}</td>
     47                       
    4248                            <td>${fieldValue(bean:systemSectionInstance, field:'description')}</td>
    4349                       
     
    4551                       
    4652                            <td>${fieldValue(bean:systemSectionInstance, field:'name')}</td>
    47                        
    48                             <td>${fieldValue(bean:systemSectionInstance, field:'site')}</td>
    4953                       
    5054                        </tr>
Note: See TracChangeset for help on using the changeset viewer.