Package net.pricefx.formulaengine.forms
Interface FormModal
- All Superinterfaces:
FormLayoutNode
A modal layout node used to display form inputs in a popup dialog with an optional heading.
-
Method Summary
Modifier and TypeMethodDescriptionaddChild(FormLayoutNode child) addChild(ContextParameter child) setHeading(String heading) Sets the heading displayed as the title of the modal dialog.
-
Method Details
-
setHeading
Sets the heading displayed as the title of the modal dialog.The heading is separate from the modal's name, which identifies the layout node and is supplied when the modal is created. Set the heading in the Init phase together with the rest of the layout, so the dialog renders with its title the first time the user opens it.
Example:
// Init element of a Form logic def layout = form.layout() layout.addChild( layout.createModal("lineItemDetails") .setHeading("Line Item Details") )- Parameters:
heading- text shown as the dialog title- Returns:
- this
FormModal, so that calls can be chained - Since:
- 17.1 - Paloma
- See Also:
-
addChild
- Specified by:
addChildin interfaceFormLayoutNode
-
addChild
- Specified by:
addChildin interfaceFormLayoutNode
-