Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #18. #39

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Fixes #18. #39

merged 1 commit into from
Jun 12, 2023

Conversation

dustindclark
Copy link
Contributor

This fixes #18 by allowing a plugin to override the default templates provided by the Scaffolding plugin. The plugin that contains the template overrides should be configured to load AFTER the scaffolding plugin. An example implementation follows:

Closure doWithSpring() { { ->
         jspViewResolver(ScaffoldingViewResolver, this.class) { bean ->
             bean.lazyInit = true
             bean.parent = "abstractViewResolver"
         }
}}

@puneetbehl puneetbehl changed the base branch from master to 5.0.x June 12, 2023 10:19
@puneetbehl puneetbehl merged commit e4114b3 into grails:5.0.x Jun 12, 2023
codeconsole added a commit to codeconsole/scaffolding that referenced this pull request Sep 11, 2024
codeconsole added a commit that referenced this pull request Sep 11, 2024
Fix for npe if in non development mode introduced by #39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grails 3.x.x ignores plugin-based scaffolding templates?
2 participants