Class ModalFormAction.Attributes

java.lang.Object
com.broadleafcommerce.metadata.dsl.core.extension.actions.ModalFormAction.Attributes
Enclosing interface:
ModalFormAction<A extends ModalFormAction<A>>

public static final class ModalFormAction.Attributes extends Object
  • Field Details

    • READ_ON_SUCCESS

      public static final String READ_ON_SUCCESS
      Whether a re-fetch should be triggerred on modal form action success.
      Since:
      Metadata 2.0.8, Release Train 2.1.6, 2.2.2
      See Also:
    • SUBMIT_LABEL

      public static final String SUBMIT_LABEL
      See Also:
    • SUBMIT_COLOR

      public static final String SUBMIT_COLOR
      Sets the color for the submit button within the modal form.

      Accepted values are primary, secondary, danger, and default. Default is primary.

      Since:
      Metadata 2.0.8, Release Train 2.1.6, Metadata 2.0.8, Release Train 2.2.2
      See Also:
    • AUTO_FOCUS

      public static final String AUTO_FOCUS
      Indicates whether the modal should automatically focus on the first input field when opened. Default is true.
      Since:
      Metadata 2.0.8, Release Train 2.1.6, Metadata 2.0.8, Release Train 2.2.2
      See Also:
    • CLOSE_BUTTON_LABEL

      public static final String CLOSE_BUTTON_LABEL
      The label for the close button in the footer of the modal. Default is "Close". Implies the close button is shown in the footer.
      Since:
      Metadata 2.0.8, Release Train 2.1.6, Metadata 2.0.8, Release Train 2.2.2
      See Also:
    • SUBMIT_CONFIRMATION_MESSAGE

      public static final String SUBMIT_CONFIRMATION_MESSAGE
      A message to display to the before submitting the modal form.
      Since:
      Metadata 2.0.8, Release Train 2.1.6, Metadata 2.0.8, Release Train 2.2.2
      See Also: