zyro23 opened a new issue, #14240:
URL: https://github.com/apache/grails-core/issues/14240

   if you want to adjust all fields for a certain hasMany association or a 
collection property, there is no direct way with the existing template lookup.
   e.g. domain A and B both got a hasMany = [cs: C], then you would need to 
customize _fields/a/cs/_input.gsp and _fields/b/cs/_input.gsp.
   
   sticking with the existing templates-for-types convention option, i could 
imagine something like
   _fields/collection/myAssociatedDomainClass/_input.gsp
   _fields/set/myAssociatedDomainClass/_input.gsp
   _fields/collection/enum/_input.gsp
   and so on.
   
   the enum example shows that it would be nice if this does not only apply to 
domain-associations but also to properties that are 
GrailsDomainClassProperty.basicCollectionType.
   
   rob, if you do not got the necessary spare time but any thoughts on this, 
comment please. maybe i can find some time in the next weeks to tackle this.
   
   zyro
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to