Thank you very much, it seems to work :-)
I've got one more question regarding the integration.
I already had a User domain class and a UserController. I've merged
them with the User and the UserController classes of the plugin to add
the extra fields and some logic (for example, I use hashed
passwords...) and leaved them in the party time grails-app dir.
I'm not sure this is the best thing to do (well, I'm quite sure this
is NOT the best thing to do...), so I was wondering if there are some
best practices for the integration (the problem is when a new version
of the plugins is released...)
I can think of 3 integration ways:
- Modify the domain classes, controllers, views and css of the plugin
and use them in the application
- Move all the needed classes from the plugin to the application and
then modify them
- Extends the plugin classes in the application(for example User) and
delegate to the plugin classes and controllers (but I'm not sure if
this can be done and if there are some benefits...)
Have you any suggestion ?
Thanks
Davide
On 3 Apr, 15:58, tog <
guillaume.all...@gmail.com> wrote:
> Hi David
>
> Actually party-time is a plugin but comes with a sample application. So you
> can get rid of what is grails-app - but keep everything in plugins ;)
> You will notice that the demo app does not contain any domain class, just 2
> controllers and associate views (Login ...) so may be you can mv your app
> within this environement.
>
> Hope this help
> Guillaume
>