Class RenderItemParams


  • public final class RenderItemParams
    extends Object
    Parameters for the render item remote command, see FormRenderHelper.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • RenderItemParams

        public RenderItemParams​(Locale defaultLocale)
    • Method Detail

      • getLang

        public Locale getLang()
      • getLangCode

        public String getLangCode()
      • getPersist

        public List<com.alibaba.fastjson.JSONObject> getPersist()
      • getVersion

        public com.alibaba.fastjson.JSONObject getVersion()
      • isAttributeW3CMode

        public boolean isAttributeW3CMode()
      • isElementClassNameMode

        public boolean isElementClassNameMode()
        Returns:
        true if the name of the element should be added as a CSS style class, false otherwise.
      • isLegacyUseOptionTextForAutocomplete

        public boolean isLegacyUseOptionTextForAutocomplete()
      • isPlaceholderPreview

        public boolean isPlaceholderPreview()
      • isPreview

        public boolean isPreview()
      • isValidateSubmitAction

        public boolean isValidateSubmitAction()
      • getRequiredFieldDisplay

        public ERequiredFieldDisplay getRequiredFieldDisplay()
        Checks which form fields are marked as required or optional, never null.
        Returns:
        How required fields are displayed in the form, never null.
        Since:
        8.6.0
      • getHelpTextDisplay

        public EHelpTextDisplay getHelpTextDisplay()
        Gets how the help texts of form elements are displayed, unless overridden by a form element.
        Returns:
        How help texts are displayed in the form, never null.
        Since:
        8.6.0