Class AdaptiveForm

  • All Implemented Interfaces:
    Use

    public class AdaptiveForm
    extends AEMForm
    AdaptiveForm class encapsulates basic properties of an adaptive form. Few are listed below:
    • Name of the form
    • Title of the form
    Since:
    6.2
    • Constructor Detail

      • AdaptiveForm

        public AdaptiveForm()
    • Method Detail

      • getFormPagePath

        public java.lang.String getFormPagePath()
      • getFormTitle

        public java.lang.String getFormTitle()
        get the title to be displayed for the form returns Page.getTitle() for the form if it exists otherwise returns Page.getName()
        Returns:
        form title
      • getFormThemeName

        public java.lang.String getFormThemeName()
        Returns the client lib to be used for styling the form. The function first checks whether any theme is set either in dialog or the form. If not found returns empty string.
        Returns:
        name of the theme client lib used in the form
      • getLocaleString

        public java.lang.String getLocaleString()
        Returns the final locale for adaptive form as per the resolving order.
        Returns:
        the language locale string