Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 0.3.1
-
Fix Version/s: 1.2-M3
-
Component/s: Scaffolding
-
Labels:None
-
Patch Submitted:Yes
Description
When displaying headers and links in views, scaffolding could show friendly names instead of camel case class names. For example, for a class named LineOfBusiness, it could display "Line Of Business".
Attached is a patch for this issue.
I've changed the DefaultGrailsTemplateGenerator.groovy to pass the natural and the short class name to the scaffolding templates.
The short name is still used for the g:paginate