Hey, 
I'm using Apache Shiro plugin for our Grails application. 

User.groovy 
  static hasMany = [roles: Role] 
Role.groovy 
  static hasMany = [permissions: String] 
  static belongsTo = User 

I have the views generated via grails generate-views 
The generated view for edit.gsp of Role doesn't provide an input (create.gsp
suffers from the same thing): 

        <tr class="prop"> 
          <td valign="top" class="name"> 
            <label for="permissions">Permissions:</label> 
          </td> 
          <td valign="top" class="value ${hasErrors(bean: roleInstance,
field: 'permissions', 'errors')}"> 
          </td> 
        </tr> 

What should I do? what input tags I should use for String[ ] permissions? 
Thanks for help and time.

-- 
View this message in context: 
http://n2.nabble.com/Issues-with-generated-views-for-Shiro-domain-entities-tp4222982p4222982.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to