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

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

  •  28-06-2022
  •  | 
  •  

문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top