Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
_cq_design_dialog Migrate unit test to aem mocks 2.7 (#708) Aug 30, 2019
_cq_dialog Migrate unit test to aem mocks 2.7 (#708) Aug 30, 2019
_cq_template Preparing changes for release 2.0.0 Jan 10, 2018
clientlibs Migrate unit test to aem mocks 2.7 (#708) Aug 30, 2019
new
.content.xml
README.md
_cq_editConfig.xml Preparing changes for release 2.0.0 Jan 10, 2018
container.html Migrate unit test to aem mocks 2.7 (#708) Aug 30, 2019

README.md

Form Container (v2)

Form container written in HTL.

Features

  • Form submit actions like sending emails, storing content
  • Configurable list of allowed components
  • Thank you page

Use Object

The Form Container component uses the com.adobe.cq.wcm.core.components.models.form.Container Sling Model for its Use-object.

Component Policy Configuration Properties

The following configuration properties are used:

  1. ./components - defines the allowed components that can be dropped onto a Form Container associated to this component policy
  2. ./columns - defines the number of columns for the container's grid for a Form Container associated to this component policy

Edit Dialog Properties

The following properties are written to JCR for this Form Container component and are expected to be available as Resource properties:

  1. ./actionType - defines the action that will be performed by the form
  2. ./workflowModel - defines the workflow which should be started with the stored content as payload
  3. ./workflowTitle - defines the workflow's title
  4. ./redirect - if left empty the form will be rendered after submission, otherwise the user will be redirected to the page stored by this property

Client Libraries

The component provides a core.wcm.components.form.container.v2.editor editor client library category that includes JavaScript handling for dialog interaction. It is already included by its edit dialog.

BEM Description

BLOCK cmp-form

Information

You can’t perform that action at this time.