Button component written in HTL.
- Provides support for regular and submit buttons
The Form Button component uses the com.adobe.cq.wcm.core.components.models.form.Button
Sling Model for its Use-object.
The following properties are written to JCR for this Form Button component and are expected to be available as Resource
properties:
./jcr:title
- defines the text displayed on the button; if none is provided, the text will default to the button type./name
- defines the name of the button, which will be submitted with the form data./value
- defines the value of the button, which will be submitted with the form data./id
- defines the component HTML ID attribute.
The component provides a core.wcm.components.form.button.v2.editor
editor client library category that includes
JavaScript handling for dialog interaction. It is already included by its edit and design dialogs.
BLOCK cmp-form-button
- Vendor: Adobe
- Version: v2
- Compatibility: AEM 6.3
- Status: production-ready
- Documentation: https://www.adobe.com/go/aem_cmp_form_button_v2