Can I create my own scaffolding resource i.e. add presentation model purposes 'controller'

StackOverflow https://stackoverflow.com/questions/18714437

  •  28-06-2022
  •  | 
  •  

Question

Due to using Grails app also as open-dolphin server, I'd like to be able to scaffold presentation model from domain classes. Since I need to put them into shared package to include them also to client, putting them in standard controller scaffold source is not suitable for me.

So, the question is: Is it possible to add extra scaffolding source beside controller, edit, create, show, etc?

Was it helpful?

Solution

Of course you can, just do "grails install-templates" and add new actions to the scaffolded controller: http://grails.org/doc/latest/guide/scaffolding.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top