Index: /trunk/grails-app/conf/Config.groovy
===================================================================
--- /trunk/grails-app/conf/Config.groovy	(revision 382)
+++ /trunk/grails-app/conf/Config.groovy	(revision 383)
@@ -247,4 +247,20 @@
             [order:91, controller:'inventoryGroupDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
         ]
+    ],
+    [order:100, controller:'manufacturerTypeDetailed', title:'manufacturerType', action:'list',
+        subItems: [
+            [order:10, controller:'manufacturerTypeDetailed', title:'Manufacturer Type List', action:'list', isVisible: { true }],
+            [order:20, controller:'manufacturerTypeDetailed', title:'Create', action:'create', isVisible: { true }],
+            [order:90, controller:'manufacturerTypeDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
+            [order:91, controller:'manufacturerTypeDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
+        ]
+    ],
+    [order:110, controller:'supplierTypeDetailed', title:'supplierType', action:'list',
+        subItems: [
+            [order:10, controller:'supplierTypeDetailed', title:'Supplier Type List', action:'list', isVisible: { true }],
+            [order:20, controller:'supplierTypeDetailed', title:'Create', action:'create', isVisible: { true }],
+            [order:90, controller:'supplierTypeDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
+            [order:91, controller:'supplierTypeDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
+        ]
     ]
 ]
Index: unk/grails-app/controllers/ManufacturerTypeController.groovy
===================================================================
--- /trunk/grails-app/controllers/ManufacturerTypeController.groovy	(revision 382)
+++ 	(revision )
@@ -1,99 +1,0 @@
-import org.codehaus.groovy.grails.plugins.springsecurity.Secured
-
-class ManufacturerTypeController extends BaseAppAdminController {
-    
-    def index = { redirect(action:list,params:params) }
-
-    // the delete, save and update actions only accept POST requests
-    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
-
-    def list = {
-        params.max = Math.min( params.max ? params.max.toInteger() : 10,  100)
-        [ manufacturerTypeInstanceList: ManufacturerType.list( params ), manufacturerTypeInstanceTotal: ManufacturerType.count() ]
-    }
-
-    def show = {
-        def manufacturerTypeInstance = ManufacturerType.get( params.id )
-
-        if(!manufacturerTypeInstance) {
-            flash.message = "ManufacturerType not found with id ${params.id}"
-            redirect(action:list)
-        }
-        else { return [ manufacturerTypeInstance : manufacturerTypeInstance ] }
-    }
-
-    def delete = {
-        def manufacturerTypeInstance = ManufacturerType.get( params.id )
-        if(manufacturerTypeInstance) {
-            try {
-                manufacturerTypeInstance.delete(flush:true)
-                flash.message = "ManufacturerType ${params.id} deleted"
-                redirect(action:list)
-            }
-            catch(org.springframework.dao.DataIntegrityViolationException e) {
-                flash.message = "ManufacturerType ${params.id} could not be deleted"
-                redirect(action:show,id:params.id)
-            }
-        }
-        else {
-            flash.message = "ManufacturerType not found with id ${params.id}"
-            redirect(action:list)
-        }
-    }
-
-    def edit = {
-        def manufacturerTypeInstance = ManufacturerType.get( params.id )
-
-        if(!manufacturerTypeInstance) {
-            flash.message = "ManufacturerType not found with id ${params.id}"
-            redirect(action:list)
-        }
-        else {
-            return [ manufacturerTypeInstance : manufacturerTypeInstance ]
-        }
-    }
-
-    def update = {
-        def manufacturerTypeInstance = ManufacturerType.get( params.id )
-        if(manufacturerTypeInstance) {
-            if(params.version) {
-                def version = params.version.toLong()
-                if(manufacturerTypeInstance.version > version) {
-                    
-                    manufacturerTypeInstance.errors.rejectValue("version", "manufacturerType.optimistic.locking.failure", "Another user has updated this ManufacturerType while you were editing.")
-                    render(view:'edit',model:[manufacturerTypeInstance:manufacturerTypeInstance])
-                    return
-                }
-            }
-            manufacturerTypeInstance.properties = params
-            if(!manufacturerTypeInstance.hasErrors() && manufacturerTypeInstance.save(flush: true)) {
-                flash.message = "ManufacturerType ${params.id} updated"
-                redirect(action:show,id:manufacturerTypeInstance.id)
-            }
-            else {
-                render(view:'edit',model:[manufacturerTypeInstance:manufacturerTypeInstance])
-            }
-        }
-        else {
-            flash.message = "ManufacturerType not found with id ${params.id}"
-            redirect(action:list)
-        }
-    }
-
-    def create = {
-        def manufacturerTypeInstance = new ManufacturerType()
-        manufacturerTypeInstance.properties = params
-        return ['manufacturerTypeInstance':manufacturerTypeInstance]
-    }
-
-    def save = {
-        def manufacturerTypeInstance = new ManufacturerType(params)
-        if(!manufacturerTypeInstance.hasErrors() && manufacturerTypeInstance.save(flush: true)) {
-            flash.message = "ManufacturerType ${manufacturerTypeInstance.id} created"
-            redirect(action:show,id:manufacturerTypeInstance.id)
-        }
-        else {
-            render(view:'create',model:[manufacturerTypeInstance:manufacturerTypeInstance])
-        }
-    }
-}
Index: /trunk/grails-app/controllers/ManufacturerTypeDetailedController.groovy
===================================================================
--- /trunk/grails-app/controllers/ManufacturerTypeDetailedController.groovy	(revision 383)
+++ /trunk/grails-app/controllers/ManufacturerTypeDetailedController.groovy	(revision 383)
@@ -0,0 +1,113 @@
+import org.codehaus.groovy.grails.plugins.springsecurity.Secured
+
+@Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager'])
+class ManufacturerTypeDetailedController extends BaseController {
+
+    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser'])
+    def index = { redirect(action:list,params:params) }
+
+    // the delete, save and update actions only accept POST requests
+    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
+
+    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser'])
+    def list = {
+        params.max = Math.min( params.max ? params.max.toInteger() : 10,  100)
+        [ manufacturerTypeInstanceList: ManufacturerType.list( params ), manufacturerTypeInstanceTotal: ManufacturerType.count() ]
+    }
+
+    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser'])
+    def show = {
+
+        // In the case of an actionSubmit button, rewrite action name from 'index'.
+        if(params._action_Show)
+            params.action='show'
+
+        def manufacturerTypeInstance = ManufacturerType.get( params.id )
+
+        if(!manufacturerTypeInstance) {
+            flash.message = "ManufacturerType not found with id ${params.id}"
+            redirect(action:list)
+        }
+        else { return [ manufacturerTypeInstance : manufacturerTypeInstance ] }
+    }
+
+    def delete = {
+        def manufacturerTypeInstance = ManufacturerType.get( params.id )
+        if(manufacturerTypeInstance) {
+            try {
+                manufacturerTypeInstance.delete(flush:true)
+                flash.message = "ManufacturerType ${params.id} deleted"
+                redirect(action:list)
+            }
+            catch(org.springframework.dao.DataIntegrityViolationException e) {
+                flash.message = "ManufacturerType ${params.id} could not be deleted"
+                redirect(action:show,id:params.id)
+            }
+        }
+        else {
+            flash.message = "ManufacturerType not found with id ${params.id}"
+            redirect(action:list)
+        }
+    }
+
+    def edit = {
+
+        // In the case of an actionSubmit button, rewrite action name from 'index'.
+        if(params._action_Edit)
+            params.action='edit'
+
+        def manufacturerTypeInstance = ManufacturerType.get( params.id )
+
+        if(!manufacturerTypeInstance) {
+            flash.message = "ManufacturerType not found with id ${params.id}"
+            redirect(action:list)
+        }
+        else {
+            return [ manufacturerTypeInstance : manufacturerTypeInstance ]
+        }
+    }
+
+    def update = {
+        def manufacturerTypeInstance = ManufacturerType.get( params.id )
+        if(manufacturerTypeInstance) {
+            if(params.version) {
+                def version = params.version.toLong()
+                if(manufacturerTypeInstance.version > version) {
+                    
+                    manufacturerTypeInstance.errors.rejectValue("version", "manufacturerType.optimistic.locking.failure", "Another user has updated this ManufacturerType while you were editing.")
+                    render(view:'edit',model:[manufacturerTypeInstance:manufacturerTypeInstance])
+                    return
+                }
+            }
+            manufacturerTypeInstance.properties = params
+            if(!manufacturerTypeInstance.hasErrors() && manufacturerTypeInstance.save(flush: true)) {
+                flash.message = "ManufacturerType ${params.id} updated"
+                redirect(action:show,id:manufacturerTypeInstance.id)
+            }
+            else {
+                render(view:'edit',model:[manufacturerTypeInstance:manufacturerTypeInstance])
+            }
+        }
+        else {
+            flash.message = "ManufacturerType not found with id ${params.id}"
+            redirect(action:list)
+        }
+    }
+
+    def create = {
+        def manufacturerTypeInstance = new ManufacturerType()
+        manufacturerTypeInstance.properties = params
+        return ['manufacturerTypeInstance':manufacturerTypeInstance]
+    }
+
+    def save = {
+        def manufacturerTypeInstance = new ManufacturerType(params)
+        if(!manufacturerTypeInstance.hasErrors() && manufacturerTypeInstance.save(flush: true)) {
+            flash.message = "ManufacturerType ${manufacturerTypeInstance.id} created"
+            redirect(action:show,id:manufacturerTypeInstance.id)
+        }
+        else {
+            render(view:'create',model:[manufacturerTypeInstance:manufacturerTypeInstance])
+        }
+    }
+}
Index: unk/grails-app/controllers/SupplierTypeController.groovy
===================================================================
--- /trunk/grails-app/controllers/SupplierTypeController.groovy	(revision 382)
+++ 	(revision )
@@ -1,99 +1,0 @@
-import org.codehaus.groovy.grails.plugins.springsecurity.Secured
-
-class SupplierTypeController extends BaseAppAdminController {
-    
-    def index = { redirect(action:list,params:params) }
-
-    // the delete, save and update actions only accept POST requests
-    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
-
-    def list = {
-        params.max = Math.min( params.max ? params.max.toInteger() : 10,  100)
-        [ supplierTypeInstanceList: SupplierType.list( params ), supplierTypeInstanceTotal: SupplierType.count() ]
-    }
-
-    def show = {
-        def supplierTypeInstance = SupplierType.get( params.id )
-
-        if(!supplierTypeInstance) {
-            flash.message = "SupplierType not found with id ${params.id}"
-            redirect(action:list)
-        }
-        else { return [ supplierTypeInstance : supplierTypeInstance ] }
-    }
-
-    def delete = {
-        def supplierTypeInstance = SupplierType.get( params.id )
-        if(supplierTypeInstance) {
-            try {
-                supplierTypeInstance.delete(flush:true)
-                flash.message = "SupplierType ${params.id} deleted"
-                redirect(action:list)
-            }
-            catch(org.springframework.dao.DataIntegrityViolationException e) {
-                flash.message = "SupplierType ${params.id} could not be deleted"
-                redirect(action:show,id:params.id)
-            }
-        }
-        else {
-            flash.message = "SupplierType not found with id ${params.id}"
-            redirect(action:list)
-        }
-    }
-
-    def edit = {
-        def supplierTypeInstance = SupplierType.get( params.id )
-
-        if(!supplierTypeInstance) {
-            flash.message = "SupplierType not found with id ${params.id}"
-            redirect(action:list)
-        }
-        else {
-            return [ supplierTypeInstance : supplierTypeInstance ]
-        }
-    }
-
-    def update = {
-        def supplierTypeInstance = SupplierType.get( params.id )
-        if(supplierTypeInstance) {
-            if(params.version) {
-                def version = params.version.toLong()
-                if(supplierTypeInstance.version > version) {
-                    
-                    supplierTypeInstance.errors.rejectValue("version", "supplierType.optimistic.locking.failure", "Another user has updated this SupplierType while you were editing.")
-                    render(view:'edit',model:[supplierTypeInstance:supplierTypeInstance])
-                    return
-                }
-            }
-            supplierTypeInstance.properties = params
-            if(!supplierTypeInstance.hasErrors() && supplierTypeInstance.save(flush: true)) {
-                flash.message = "SupplierType ${params.id} updated"
-                redirect(action:show,id:supplierTypeInstance.id)
-            }
-            else {
-                render(view:'edit',model:[supplierTypeInstance:supplierTypeInstance])
-            }
-        }
-        else {
-            flash.message = "SupplierType not found with id ${params.id}"
-            redirect(action:list)
-        }
-    }
-
-    def create = {
-        def supplierTypeInstance = new SupplierType()
-        supplierTypeInstance.properties = params
-        return ['supplierTypeInstance':supplierTypeInstance]
-    }
-
-    def save = {
-        def supplierTypeInstance = new SupplierType(params)
-        if(!supplierTypeInstance.hasErrors() && supplierTypeInstance.save(flush: true)) {
-            flash.message = "SupplierType ${supplierTypeInstance.id} created"
-            redirect(action:show,id:supplierTypeInstance.id)
-        }
-        else {
-            render(view:'create',model:[supplierTypeInstance:supplierTypeInstance])
-        }
-    }
-}
Index: /trunk/grails-app/controllers/SupplierTypeDetailedController.groovy
===================================================================
--- /trunk/grails-app/controllers/SupplierTypeDetailedController.groovy	(revision 383)
+++ /trunk/grails-app/controllers/SupplierTypeDetailedController.groovy	(revision 383)
@@ -0,0 +1,113 @@
+import org.codehaus.groovy.grails.plugins.springsecurity.Secured
+
+@Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager'])
+class SupplierTypeDetailedController extends BaseController {
+
+    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser'])
+    def index = { redirect(action:list,params:params) }
+
+    // the delete, save and update actions only accept POST requests
+    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
+
+    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser'])
+    def list = {
+        params.max = Math.min( params.max ? params.max.toInteger() : 10,  100)
+        [ supplierTypeInstanceList: SupplierType.list( params ), supplierTypeInstanceTotal: SupplierType.count() ]
+    }
+
+    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager', 'ROLE_AssetUser'])
+    def show = {
+
+        // In the case of an actionSubmit button, rewrite action name from 'index'.
+        if(params._action_Show)
+            params.action='show'
+
+        def supplierTypeInstance = SupplierType.get( params.id )
+
+        if(!supplierTypeInstance) {
+            flash.message = "SupplierType not found with id ${params.id}"
+            redirect(action:list)
+        }
+        else { return [ supplierTypeInstance : supplierTypeInstance ] }
+    }
+
+    def delete = {
+        def supplierTypeInstance = SupplierType.get( params.id )
+        if(supplierTypeInstance) {
+            try {
+                supplierTypeInstance.delete(flush:true)
+                flash.message = "SupplierType ${params.id} deleted"
+                redirect(action:list)
+            }
+            catch(org.springframework.dao.DataIntegrityViolationException e) {
+                flash.message = "SupplierType ${params.id} could not be deleted"
+                redirect(action:show,id:params.id)
+            }
+        }
+        else {
+            flash.message = "SupplierType not found with id ${params.id}"
+            redirect(action:list)
+        }
+    }
+
+    def edit = {
+
+        // In the case of an actionSubmit button, rewrite action name from 'index'.
+        if(params._action_Edit)
+            params.action='edit'
+
+        def supplierTypeInstance = SupplierType.get( params.id )
+
+        if(!supplierTypeInstance) {
+            flash.message = "SupplierType not found with id ${params.id}"
+            redirect(action:list)
+        }
+        else {
+            return [ supplierTypeInstance : supplierTypeInstance ]
+        }
+    }
+
+    def update = {
+        def supplierTypeInstance = SupplierType.get( params.id )
+        if(supplierTypeInstance) {
+            if(params.version) {
+                def version = params.version.toLong()
+                if(supplierTypeInstance.version > version) {
+                    
+                    supplierTypeInstance.errors.rejectValue("version", "supplierType.optimistic.locking.failure", "Another user has updated this SupplierType while you were editing.")
+                    render(view:'edit',model:[supplierTypeInstance:supplierTypeInstance])
+                    return
+                }
+            }
+            supplierTypeInstance.properties = params
+            if(!supplierTypeInstance.hasErrors() && supplierTypeInstance.save(flush: true)) {
+                flash.message = "SupplierType ${params.id} updated"
+                redirect(action:show,id:supplierTypeInstance.id)
+            }
+            else {
+                render(view:'edit',model:[supplierTypeInstance:supplierTypeInstance])
+            }
+        }
+        else {
+            flash.message = "SupplierType not found with id ${params.id}"
+            redirect(action:list)
+        }
+    }
+
+    def create = {
+        def supplierTypeInstance = new SupplierType()
+        supplierTypeInstance.properties = params
+        return ['supplierTypeInstance':supplierTypeInstance]
+    }
+
+    def save = {
+        def supplierTypeInstance = new SupplierType(params)
+        if(!supplierTypeInstance.hasErrors() && supplierTypeInstance.save(flush: true)) {
+            flash.message = "SupplierType ${supplierTypeInstance.id} created"
+            redirect(action:show,id:supplierTypeInstance.id)
+        }
+        else {
+            render(view:'create',model:[supplierTypeInstance:supplierTypeInstance])
+        }
+    }
+}
Index: /trunk/grails-app/views/manufacturerTypeDetailed/create.gsp
===================================================================
--- /trunk/grails-app/views/manufacturerTypeDetailed/create.gsp	(revision 383)
+++ /trunk/grails-app/views/manufacturerTypeDetailed/create.gsp	(revision 383)
@@ -0,0 +1,64 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>Create ManufacturerType</title>
+        <nav:resources override="true"/>
+    </head>
+    <body>
+        <div class="nav">
+            <nav:renderSubItems group="navAlt"/>
+        </div>
+        <div class="body">
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <g:hasErrors bean="${manufacturerTypeInstance}">
+            <div class="errors">
+                <g:renderErrors bean="${manufacturerTypeInstance}" as="list" />
+            </div>
+            </g:hasErrors>
+            <g:form action="save" method="post" >
+                <div class="dialog">
+                    <table>
+                        <tbody>
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="name">Name:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:manufacturerTypeInstance,field:'name','errors')}">
+                                    <input type="text" id="name" name="name" value="${fieldValue(bean:manufacturerTypeInstance,field:'name')}"/>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="description">Description:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:manufacturerTypeInstance,field:'description','errors')}">
+                                    <input type="text" id="description" name="description" value="${fieldValue(bean:manufacturerTypeInstance,field:'description')}"/>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="isActive">Is Active:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:manufacturerTypeInstance,field:'isActive','errors')}">
+                                    <g:checkBox name="isActive" value="${manufacturerTypeInstance?.isActive}" ></g:checkBox>
+                                </td>
+                            </tr> 
+                        
+                        </tbody>
+                    </table>
+                </div>
+                <div class="buttons">
+                    <span class="button"><input class="save" type="submit" value="Create" /></span>
+                </div>
+            </g:form>
+        </div>
+    </body>
+</html>
Index: /trunk/grails-app/views/manufacturerTypeDetailed/edit.gsp
===================================================================
--- /trunk/grails-app/views/manufacturerTypeDetailed/edit.gsp	(revision 383)
+++ /trunk/grails-app/views/manufacturerTypeDetailed/edit.gsp	(revision 383)
@@ -0,0 +1,84 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>Edit ManufacturerType</title>
+        <nav:resources override="true"/>
+    </head>
+    <body>
+        <div class="nav">
+            <nav:renderSubItems group="navAlt"/>
+        </div>
+        <div class="body">
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <g:hasErrors bean="${manufacturerTypeInstance}">
+            <div class="errors">
+                <g:renderErrors bean="${manufacturerTypeInstance}" as="list" />
+            </div>
+            </g:hasErrors>
+            <g:form method="post" >
+                <input type="hidden" name="id" value="${manufacturerTypeInstance?.id}" />
+                <input type="hidden" name="version" value="${manufacturerTypeInstance?.version}" />
+                <div class="dialog">
+                    <table>
+                        <tbody>
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="name">Name:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:manufacturerTypeInstance,field:'name','errors')}">
+                                    <input type="text" id="name" name="name" value="${fieldValue(bean:manufacturerTypeInstance,field:'name')}"/>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="description">Description:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:manufacturerTypeInstance,field:'description','errors')}">
+                                    <input type="text" id="description" name="description" value="${fieldValue(bean:manufacturerTypeInstance,field:'description')}"/>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="isActive">Is Active:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:manufacturerTypeInstance,field:'isActive','errors')}">
+                                    <g:checkBox name="isActive" value="${manufacturerTypeInstance?.isActive}" ></g:checkBox>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="manufacturers">Manufacturers:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:manufacturerTypeInstance,field:'manufacturers','errors')}">
+                                    
+<ul>
+<g:each var="m" in="${manufacturerTypeInstance?.manufacturers?}">
+    <li><g:link controller="manufacturerDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
+</g:each>
+</ul>
+<g:link controller="manufacturerDetailed" params="['manufacturerType.id':manufacturerTypeInstance?.id]" action="create">Add Manufacturer</g:link>
+
+                                </td>
+                            </tr> 
+                        
+                        </tbody>
+                    </table>
+                </div>
+                <div class="buttons">
+                    <span class="button"><g:actionSubmit class="save" value="Update" /></span>
+                    <span class="button"><g:actionSubmit class="cancel" value="Cancel" action="Show"/></span>
+                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
+                </div>
+            </g:form>
+        </div>
+    </body>
+</html>
Index: /trunk/grails-app/views/manufacturerTypeDetailed/list.gsp
===================================================================
--- /trunk/grails-app/views/manufacturerTypeDetailed/list.gsp	(revision 383)
+++ /trunk/grails-app/views/manufacturerTypeDetailed/list.gsp	(revision 383)
@@ -0,0 +1,63 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>ManufacturerType List</title>
+        <nav:resources override="true"/>
+    </head>
+    <body>
+        <div class="nav">
+            <nav:renderSubItems group="navAlt"/>
+        </div>
+        <div class="body">
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <div class="list">
+                <table>
+                    <thead>
+                        <tr>
+                        
+                            <g:sortableColumn property="id" title="Id" />
+
+                            <g:sortableColumn property="name" title="Name" />
+
+                            <g:sortableColumn property="description" title="Description" />
+
+                            <g:sortableColumn property="isActive" title="Is Active" />
+
+                            <th></th>
+                        
+                        </tr>
+                    </thead>
+                    <tbody>
+                    <g:each in="${manufacturerTypeInstanceList}" status="i" var="manufacturerTypeInstance">
+                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/manufacturerTypeDetailed/show/${manufacturerTypeInstance.id}"'/>
+
+                            <td>${fieldValue(bean:manufacturerTypeInstance, field:'id')}</td>
+                        
+                            <td>${fieldValue(bean:manufacturerTypeInstance, field:'name')}</td>
+                        
+                            <td>${fieldValue(bean:manufacturerTypeInstance, field:'description')}</td>
+                        
+                            <td>${fieldValue(bean:manufacturerTypeInstance, field:'isActive')}</td>
+                            
+                            <td>
+                                <g:link action="show" id="${manufacturerTypeInstance.id}">
+                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
+                                </g:link>
+                            </td>
+                        
+                        </tr>
+                    </g:each>
+                    </tbody>
+                </table>
+            </div>
+            <div class="paginateButtons">
+                <g:paginate total="${manufacturerTypeInstanceTotal}" />
+            </div>
+        </div>
+    </body>
+</html>
Index: /trunk/grails-app/views/manufacturerTypeDetailed/show.gsp
===================================================================
--- /trunk/grails-app/views/manufacturerTypeDetailed/show.gsp	(revision 383)
+++ /trunk/grails-app/views/manufacturerTypeDetailed/show.gsp	(revision 383)
@@ -0,0 +1,76 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>Show ManufacturerType</title>
+        <nav:resources override="true"/>
+    </head>
+    <body>
+        <div class="nav">
+            <nav:renderSubItems group="navAlt"/>
+        </div>
+        <div class="body">
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <div class="dialog">
+                <table>
+                    <tbody>
+
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Id:</td>
+                            
+                            <td valign="top" class="value">${fieldValue(bean:manufacturerTypeInstance, field:'id')}</td>
+                            
+                        </tr>
+                            
+                        </tr>
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Name:</td>
+                            
+                            <td valign="top" class="value">${fieldValue(bean:manufacturerTypeInstance, field:'name')}</td>
+                            
+                        </tr>
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Description:</td>
+                            
+                            <td valign="top" class="value">${fieldValue(bean:manufacturerTypeInstance, field:'description')}</td>
+                            
+                        </tr>
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Is Active:</td>
+                            
+                            <td valign="top" class="value">${fieldValue(bean:manufacturerTypeInstance, field:'isActive')}</td>
+                            
+                        </tr>
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Manufacturers:</td>
+                            
+                            <td  valign="top" style="text-align:left;" class="value">
+                                <ul>
+                                <g:each var="m" in="${manufacturerTypeInstance.manufacturers}">
+                                    <li><g:link controller="manufacturerDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
+                                </g:each>
+                                </ul>
+                            </td>
+                    
+                    </tbody>
+                </table>
+            </div>
+            <div class="buttons">
+                <g:form>
+                    <input type="hidden" name="id" value="${manufacturerTypeInstance?.id}" />
+                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
+                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
+                </g:form>
+            </div>
+        </div>
+    </body>
+</html>
Index: /trunk/grails-app/views/supplierTypeDetailed/create.gsp
===================================================================
--- /trunk/grails-app/views/supplierTypeDetailed/create.gsp	(revision 383)
+++ /trunk/grails-app/views/supplierTypeDetailed/create.gsp	(revision 383)
@@ -0,0 +1,64 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>Create SupplierType</title>
+        <nav:resources override="true"/>
+    </head>
+    <body>
+        <div class="nav">
+            <nav:renderSubItems group="navAlt"/>
+        </div>
+        <div class="body">
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <g:hasErrors bean="${supplierTypeInstance}">
+            <div class="errors">
+                <g:renderErrors bean="${supplierTypeInstance}" as="list" />
+            </div>
+            </g:hasErrors>
+            <g:form action="save" method="post" >
+                <div class="dialog">
+                    <table>
+                        <tbody>
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="name">Name:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:supplierTypeInstance,field:'name','errors')}">
+                                    <input type="text" id="name" name="name" value="${fieldValue(bean:supplierTypeInstance,field:'name')}"/>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="description">Description:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:supplierTypeInstance,field:'description','errors')}">
+                                    <input type="text" id="description" name="description" value="${fieldValue(bean:supplierTypeInstance,field:'description')}"/>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="isActive">Is Active:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:supplierTypeInstance,field:'isActive','errors')}">
+                                    <g:checkBox name="isActive" value="${supplierTypeInstance?.isActive}" ></g:checkBox>
+                                </td>
+                            </tr> 
+                        
+                        </tbody>
+                    </table>
+                </div>
+                <div class="buttons">
+                    <span class="button"><input class="save" type="submit" value="Create" /></span>
+                </div>
+            </g:form>
+        </div>
+    </body>
+</html>
Index: /trunk/grails-app/views/supplierTypeDetailed/edit.gsp
===================================================================
--- /trunk/grails-app/views/supplierTypeDetailed/edit.gsp	(revision 383)
+++ /trunk/grails-app/views/supplierTypeDetailed/edit.gsp	(revision 383)
@@ -0,0 +1,84 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>Edit SupplierType</title>
+        <nav:resources override="true"/>
+    </head>
+    <body>
+        <div class="nav">
+            <nav:renderSubItems group="navAlt"/>
+        </div>
+        <div class="body">
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <g:hasErrors bean="${supplierTypeInstance}">
+            <div class="errors">
+                <g:renderErrors bean="${supplierTypeInstance}" as="list" />
+            </div>
+            </g:hasErrors>
+            <g:form method="post" >
+                <input type="hidden" name="id" value="${supplierTypeInstance?.id}" />
+                <input type="hidden" name="version" value="${supplierTypeInstance?.version}" />
+                <div class="dialog">
+                    <table>
+                        <tbody>
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="name">Name:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:supplierTypeInstance,field:'name','errors')}">
+                                    <input type="text" id="name" name="name" value="${fieldValue(bean:supplierTypeInstance,field:'name')}"/>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="description">Description:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:supplierTypeInstance,field:'description','errors')}">
+                                    <input type="text" id="description" name="description" value="${fieldValue(bean:supplierTypeInstance,field:'description')}"/>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="isActive">Is Active:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:supplierTypeInstance,field:'isActive','errors')}">
+                                    <g:checkBox name="isActive" value="${supplierTypeInstance?.isActive}" ></g:checkBox>
+                                </td>
+                            </tr> 
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="suppliers">Suppliers:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:supplierTypeInstance,field:'suppliers','errors')}">
+                                    
+<ul>
+<g:each var="s" in="${supplierTypeInstance?.suppliers?}">
+    <li><g:link controller="supplierDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
+</g:each>
+</ul>
+<g:link controller="supplierDetailed" params="['supplierType.id':supplierTypeInstance?.id]" action="create">Add Supplier</g:link>
+
+                                </td>
+                            </tr> 
+                        
+                        </tbody>
+                    </table>
+                </div>
+                <div class="buttons">
+                    <span class="button"><g:actionSubmit class="save" value="Update" /></span>
+                    <span class="button"><g:actionSubmit class="cancel" value="Cancel" action="Show"/></span>
+                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
+                </div>
+            </g:form>
+        </div>
+    </body>
+</html>
Index: /trunk/grails-app/views/supplierTypeDetailed/list.gsp
===================================================================
--- /trunk/grails-app/views/supplierTypeDetailed/list.gsp	(revision 383)
+++ /trunk/grails-app/views/supplierTypeDetailed/list.gsp	(revision 383)
@@ -0,0 +1,63 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>SupplierType List</title>
+        <nav:resources override="true"/>
+    </head>
+    <body>
+        <div class="nav">
+            <nav:renderSubItems group="navAlt"/>
+        </div>
+        <div class="body">
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <div class="list">
+                <table>
+                    <thead>
+                        <tr>
+                        
+                            <g:sortableColumn property="id" title="Id" />
+
+                            <g:sortableColumn property="name" title="Name" />
+
+                            <g:sortableColumn property="description" title="Description" />
+
+                            <g:sortableColumn property="isActive" title="Is Active" />
+
+                            <th></th>
+                        
+                        </tr>
+                    </thead>
+                    <tbody>
+                    <g:each in="${supplierTypeInstanceList}" status="i" var="supplierTypeInstance">
+                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/supplierTypeDetailed/show/${supplierTypeInstance.id}"'/>
+
+                            <td>${fieldValue(bean:supplierTypeInstance, field:'id')}</td>
+                        
+                            <td>${fieldValue(bean:supplierTypeInstance, field:'name')}</td>
+                        
+                            <td>${fieldValue(bean:supplierTypeInstance, field:'description')}</td>
+                        
+                            <td>${fieldValue(bean:supplierTypeInstance, field:'isActive')}</td>
+                            
+                            <td>
+                                <g:link action="show" id="${supplierTypeInstance.id}">
+                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
+                                </g:link>
+                            </td>
+                        
+                        </tr>
+                    </g:each>
+                    </tbody>
+                </table>
+            </div>
+            <div class="paginateButtons">
+                <g:paginate total="${supplierTypeInstanceTotal}" />
+            </div>
+        </div>
+    </body>
+</html>
Index: /trunk/grails-app/views/supplierTypeDetailed/show.gsp
===================================================================
--- /trunk/grails-app/views/supplierTypeDetailed/show.gsp	(revision 383)
+++ /trunk/grails-app/views/supplierTypeDetailed/show.gsp	(revision 383)
@@ -0,0 +1,76 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>Show SupplierType</title>
+        <nav:resources override="true"/>
+    </head>
+    <body>
+        <div class="nav">
+            <nav:renderSubItems group="navAlt"/>
+        </div>
+        <div class="body">
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <div class="dialog">
+                <table>
+                    <tbody>
+
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Id:</td>
+                            
+                            <td valign="top" class="value">${fieldValue(bean:supplierTypeInstance, field:'id')}</td>
+                            
+                        </tr>
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Name:</td>
+                            
+                            <td valign="top" class="value">${fieldValue(bean:supplierTypeInstance, field:'name')}</td>
+                            
+                        </tr>
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Description:</td>
+                            
+                            <td valign="top" class="value">${fieldValue(bean:supplierTypeInstance, field:'description')}</td>
+                            
+                        </tr>
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Is Active:</td>
+                            
+                            <td valign="top" class="value">${fieldValue(bean:supplierTypeInstance, field:'isActive')}</td>
+                            
+                        </tr>
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Suppliers:</td>
+                            
+                            <td  valign="top" style="text-align:left;" class="value">
+                                <ul>
+                                <g:each var="s" in="${supplierTypeInstance.suppliers}">
+                                    <li><g:link controller="supplierDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
+                                </g:each>
+                                </ul>
+                            </td>
+                            
+                        </tr>
+                    
+                    </tbody>
+                </table>
+            </div>
+            <div class="buttons">
+                <g:form>
+                    <input type="hidden" name="id" value="${supplierTypeInstance?.id}" />
+                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
+                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
+                </g:form>
+            </div>
+        </div>
+    </body>
+</html>
