Index: trunk/grails-app/views/department/create.gsp
===================================================================
--- trunk/grails-app/views/department/create.gsp	(revision 178)
+++ trunk/grails-app/views/department/create.gsp	(revision 268)
@@ -31,5 +31,5 @@
                                 </td>
                                 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'name','errors')}">
-                                    <input type="text" id="name" name="name" value="${fieldValue(bean:departmentInstance,field:'name')}"/>
+                                    <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:departmentInstance,field:'name')}"/>
                                 </td>
                             </tr> 
@@ -40,14 +40,5 @@
                                 </td>
                                 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'description','errors')}">
-                                    <input type="text" id="description" name="description" value="${fieldValue(bean:departmentInstance,field:'description')}"/>
-                                </td>
-                            </tr> 
-                        
-                            <tr class="prop">
-                                <td valign="top" class="name">
-                                    <label for="costCode">Cost Code:</label>
-                                </td>
-                                <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'costCode','errors')}">
-                                    <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:departmentInstance,field:'costCode')}"/>
+                                    <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:departmentInstance,field:'description')}"/>
                                 </td>
                             </tr> 
Index: trunk/grails-app/views/department/edit.gsp
===================================================================
--- trunk/grails-app/views/department/edit.gsp	(revision 178)
+++ trunk/grails-app/views/department/edit.gsp	(revision 268)
@@ -34,5 +34,5 @@
                                 </td>
                                 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'name','errors')}">
-                                    <input type="text" id="name" name="name" value="${fieldValue(bean:departmentInstance,field:'name')}"/>
+                                    <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:departmentInstance,field:'name')}"/>
                                 </td>
                             </tr> 
@@ -43,14 +43,5 @@
                                 </td>
                                 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'description','errors')}">
-                                    <input type="text" id="description" name="description" value="${fieldValue(bean:departmentInstance,field:'description')}"/>
-                                </td>
-                            </tr> 
-                        
-                            <tr class="prop">
-                                <td valign="top" class="name">
-                                    <label for="costCode">Cost Code:</label>
-                                </td>
-                                <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'costCode','errors')}">
-                                    <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:departmentInstance,field:'costCode')}"/>
+                                    <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:departmentInstance,field:'description')}"/>
                                 </td>
                             </tr> 
@@ -67,14 +58,14 @@
                             <tr class="prop">
                                 <td valign="top" class="name">
-                                    <label for="persons">Persons:</label>
+                                    <label for="departmentExtendedAttributes">Department Extended Attributes:</label>
                                 </td>
-                                <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'persons','errors')}">
+                                <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'departmentExtendedAttributes','errors')}">
                                     
 <ul>
-<g:each var="p" in="${departmentInstance?.persons?}">
-    <li><g:link controller="person" action="show" id="${p.id}">${p?.encodeAsHTML()}</g:link></li>
+<g:each var="d" in="${departmentInstance?.departmentExtendedAttributes?}">
+    <li><g:link controller="departmentExtendedAttribute" action="show" id="${d.id}">${d?.encodeAsHTML()}</g:link></li>
 </g:each>
 </ul>
-<g:link controller="person" params="['department.id':departmentInstance?.id]" action="create">Add Person</g:link>
+<g:link controller="departmentExtendedAttribute" params="['department.id':departmentInstance?.id]" action="create">Add DepartmentExtendedAttribute</g:link>
 
                                 </td>
@@ -83,14 +74,14 @@
                             <tr class="prop">
                                 <td valign="top" class="name">
-                                    <label for="systemSections">System Sections:</label>
+                                    <label for="sections">Sections:</label>
                                 </td>
-                                <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'systemSections','errors')}">
+                                <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'sections','errors')}">
                                     
 <ul>
-<g:each var="s" in="${departmentInstance?.systemSections?}">
-    <li><g:link controller="systemSection" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
+<g:each var="s" in="${departmentInstance?.sections?}">
+    <li><g:link controller="section" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
 </g:each>
 </ul>
-<g:link controller="systemSection" params="['department.id':departmentInstance?.id]" action="create">Add SystemSection</g:link>
+<g:link controller="section" params="['department.id':departmentInstance?.id]" action="create">Add Section</g:link>
 
                                 </td>
Index: trunk/grails-app/views/department/list.gsp
===================================================================
--- trunk/grails-app/views/department/list.gsp	(revision 178)
+++ trunk/grails-app/views/department/list.gsp	(revision 268)
@@ -27,6 +27,4 @@
                    	        <g:sortableColumn property="description" title="Description" />
                         
-                   	        <g:sortableColumn property="costCode" title="Cost Code" />
-                        
                    	        <g:sortableColumn property="isActive" title="Is Active" />
                         
@@ -43,6 +41,4 @@
                             <td>${fieldValue(bean:departmentInstance, field:'description')}</td>
                         
-                            <td>${fieldValue(bean:departmentInstance, field:'costCode')}</td>
-                        
                             <td>${fieldValue(bean:departmentInstance, field:'isActive')}</td>
                         
Index: trunk/grails-app/views/department/show.gsp
===================================================================
--- trunk/grails-app/views/department/show.gsp	(revision 178)
+++ trunk/grails-app/views/department/show.gsp	(revision 268)
@@ -44,11 +44,4 @@
                     
                         <tr class="prop">
-                            <td valign="top" class="name">Cost Code:</td>
-                            
-                            <td valign="top" class="value">${fieldValue(bean:departmentInstance, field:'costCode')}</td>
-                            
-                        </tr>
-                    
-                        <tr class="prop">
                             <td valign="top" class="name">Is Active:</td>
                             
@@ -58,10 +51,10 @@
                     
                         <tr class="prop">
-                            <td valign="top" class="name">Persons:</td>
+                            <td valign="top" class="name">Department Extended Attributes:</td>
                             
                             <td  valign="top" style="text-align:left;" class="value">
                                 <ul>
-                                <g:each var="p" in="${departmentInstance.persons}">
-                                    <li><g:link controller="person" action="show" id="${p.id}">${p?.encodeAsHTML()}</g:link></li>
+                                <g:each var="d" in="${departmentInstance.departmentExtendedAttributes}">
+                                    <li><g:link controller="departmentExtendedAttribute" action="show" id="${d.id}">${d?.encodeAsHTML()}</g:link></li>
                                 </g:each>
                                 </ul>
@@ -71,10 +64,10 @@
                     
                         <tr class="prop">
-                            <td valign="top" class="name">System Sections:</td>
+                            <td valign="top" class="name">Sections:</td>
                             
                             <td  valign="top" style="text-align:left;" class="value">
                                 <ul>
-                                <g:each var="s" in="${departmentInstance.systemSections}">
-                                    <li><g:link controller="systemSection" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
+                                <g:each var="s" in="${departmentInstance.sections}">
+                                    <li><g:link controller="section" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
                                 </g:each>
                                 </ul>
