Class AEMForm

  • All Implemented Interfaces:
    Use
    Direct Known Subclasses:
    AdaptiveForm

    public class AEMForm
    extends com.adobe.cq.sightly.WCMUsePojo
    AEMForm class encapsulates basic properties of an AEM Form.
    Since:
    6.2
    • Constructor Detail

      • AEMForm

        public AEMForm()
    • Method Detail

      • activate

        public void activate()
                      throws java.lang.Exception
        Specified by:
        activate in class com.adobe.cq.sightly.WCMUsePojo
        Throws:
        java.lang.Exception
      • getThemeName

        public java.lang.String getThemeName()
        Returns the client lib name for the theme
        Returns:
        client lib name of the theme configured for the form
      • getFormPath

        public java.lang.String getFormPath()
      • getThemePath

        public java.lang.String getThemePath()
        Returns the path of the theme associated with adaptive form.
        Returns:
        Path of the theme associated with adaptive form.
      • getFormEditPagePath

        public java.lang.String getFormEditPagePath()
      • getFormType

        public int getFormType()
      • getIsAdaptiveForm

        public boolean getIsAdaptiveForm()
      • getIsMCDocument

        public boolean getIsMCDocument()
      • getIsMobileForm

        public boolean getIsMobileForm()
      • getIsMobileFormset

        public boolean getIsMobileFormset()
      • getIsFormSelected

        public boolean getIsFormSelected()
      • getSubmitType

        public java.lang.String getSubmitType()
      • getThankyouMessage

        public java.lang.String getThankyouMessage()
      • getThankyouPage

        public java.lang.String getThankyouPage()
      • getThankyouConfig

        public java.lang.String getThankyouConfig()
      • getHeight

        public java.lang.String getHeight()
        The functions checks the height set in the dialog. It appends the height with px unless it is auto. For invalid values (non integers), auto is returned.
        Returns:
        height of the form configured
      • getCssClientlib

        public java.lang.String getCssClientlib()
      • getAdditionalParamString

        public java.lang.String getAdditionalParamString()
      • getIsPlaceholderVisible

        public boolean getIsPlaceholderVisible()