You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return true if your renderer supports the given property. See the link:{api}/org/grails/scaffolding/model/property/DomainProperty.html[DomainProperty] and link:https://graceframework.org/grace-data/2023.3.x/api/org/grails/datastore/mapping/model/PersistentProperty.html[PersistentProperty] interfaces to see what data is available on the domain property instance.
Return a closure to be passed to a link:http://docs.groovy-lang.org/latest/html/api/groovy/xml/MarkupBuilder.html[MarkupBuilder] that renders your property
26
+
Return a closure to be passed to a link:{groovyapi}/groovy/xml/MarkupBuilder.html[MarkupBuilder] that renders your property
27
27
28
28
NOTE: The default attributes passed to `renderInput` are created by the link:{api}/org/grails/scaffolding/markup/PropertyMarkupRenderer.html#getStandardAttributes(org.grails.scaffolding.model.property.DomainProperty)[PropertyMarkupRenderer#getStandardAttributes] method.
29
29
@@ -43,9 +43,9 @@ Output renders must implement the link:{api}/org/grails/scaffolding/registry/Dom
Return true if your renderer supports the given property. See the link:{api}/org/grails/scaffolding/model/property/DomainProperty.html[DomainProperty] and link:https://graceframework.org/grace-data/2023.3.x/api/org/grails/datastore/mapping/model/PersistentProperty.html[PersistentProperty] interfaces to see what data is available on the domain property instance.
Return a closure to be passed to a link:http://docs.groovy-lang.org/latest/html/api/groovy/xml/MarkupBuilder.html[MarkupBuilder] that renders your property in the context of a list of domain class instances
46
+
Return a closure to be passed to a link:{groovyapi}/groovy/xml/MarkupBuilder.html[MarkupBuilder] that renders your property in the context of a list of domain class instances
47
47
* `Closure renderOutput(DomainProperty property)`
48
-
Return a closure to be passed to a link:http://docs.groovy-lang.org/latest/html/api/groovy/xml/MarkupBuilder.html[MarkupBuilder] that renders your property in the context of a single domain class instance
48
+
Return a closure to be passed to a link:{groovyapi}/groovy/xml/MarkupBuilder.html[MarkupBuilder] that renders your property in the context of a single domain class instance
49
49
50
50
To register your renderer, inject the "domainOutputRendererRegistry" bean and execute `registerDomainRenderer`, passing along your renderer and its priority.
Copy file name to clipboardExpand all lines: src/docs/guide/introduction.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
The Grace scaffolding core module was created to render 3 separate views: list, show, and create/edit. By default the views are rendered in a similar way to the link:https://graceframework.org/grace-fields/6.3.x/guide/index.html[fields] plugin.
1
+
The Grace scaffolding core module was created to render 3 separate views: list, show, and create/edit. By default the views are rendered in a similar way to the link:https://graceframework.org/grace-fields/{version}/guide/index.html[fields] plugin.
2
2
3
-
All of the applicable rules of the link:https://graceframework.org/grace-fields/6.3.x/guide/index.html[fields] plugin also apply to this module.
3
+
All of the applicable rules of the link:https://graceframework.org/grace-fields/{version}/guide/index.html[fields] plugin also apply to this module.
4
4
5
5
Scaffolding core is designed to render markup intended to be processed by a template engine. The classes provided by this library will always render markup based on the definition of a domain class, instead of an individual instance or instances of a domain class that contain real data.
0 commit comments