@groovy.transform.CompileStatic class ShowSpec extends SectionSpec
UiShowSpecifier delegated class
This class allows to add fields to show, with some style. The show block element is not editable.
Constructor and description |
---|
ShowSpec
(IUiShowVisitor showVisitor) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
section(java.lang.String sectionName, groovy.lang.Closure closure) Add section to group field together |
|
void |
showAction(org.codehaus.groovy.runtime.MethodClosure action, java.lang.Long id, java.util.Map params)
|
Methods inherited from class | Name |
---|---|
class SectionSpec |
field, field, field, field, fieldAction, fieldAction, fieldLabeled, fieldLabeled, fieldUnlabeled, fieldUnlabeled, inlineHtml, showInputField |
Add section to group field together
sectionName
- label of the sectionclosure
- list of fields to display
action
- action closure