fields plugin - scaffolding hasMany problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

fields plugin - scaffolding hasMany problem

micke_
Hi

I've installed version 1.3 of the fields plugin and trying to get dynamic scaffolding to work.

my Link domain has a
static hasMany = [categories:LevelCategory]
field and this doesn't get rendered as a multiple select widget, instead a link with this text is rendered:
Add LevelCategory
which points to http://localhost:8080/levelCategory/create?link.id=

No belongsTo i LevelCategory.

I've run install-form-field-templates which introduced this problem.

Is there a way to get this working?

Using grails 2.1.0.

My other plugins:
    plugins{
        build ":tomcat:$grailsVersion"
        runtime ":hibernate:$grailsVersion"
       
        build ":svn:1.0.2"
       
        compile ":cloud-foundry:1.2.2"
       
        compile ":spring-security-core:1.2.7.3"
        compile ":platform-core:1.0.M2"
        compile ":events-si:1.0.M2"
        compile ":hd-image-utils:0.3"
       
        runtime ':aws-sdk:1.3.12'
        runtime ":fields:1.3"
        runtime ':jquery:1.7.1'
        runtime ':jquery-ui:1.8.15'
        runtime ":resources:1.2-RC1"
        //runtime ":cached-resources:1.0.4"
        runtime ':webflow:2.0.0'
        runtime ':twitter-bootstrap:2.0.2.25'
    }

Thanks,
 Mikael