Class PreActionConfirmWithWidgetBuilder.Cfw

java.lang.Object
org.cxbox.core.dto.rowmeta.PreActionConfirmWithWidgetBuilder.Cfw
Enclosing class:
PreActionConfirmWithWidgetBuilder

public static final class PreActionConfirmWithWidgetBuilder.Cfw extends Object
Confirm with widget builder.
We keep class name very short to make inline highlights in IntelliJ IDEA non-distributive in the most common usage case
  • Method Details

    • title

      public PreActionConfirmWithWidgetBuilder.Cfw title(@Nullable String title)
      Parameters:
      title - confirm popup title

      1. If this builder method is not called or called with null - default title from FormPopup widget.json -> title will be shown
      2. (DEPRECATED. Use withoutTitle()} instead) If this builder method called with non-null blank String - error will be logged
      Returns:
      builder
    • withoutTitle

      If this builder method is called - no title will be shown

      see title java doc for details
      Returns:
      builder
    • yesText

      public PreActionConfirmWithWidgetBuilder.Cfw yesText(@Nullable String yesText)
      Parameters:
      yesText - text that will be shown on corresponding button in UI popup.

      If this builder method is not called or called with null - default 'Save' action text will be shown (more precisely translation defined in UI will be shown)
      Returns:
      builder
    • noText

      public PreActionConfirmWithWidgetBuilder.Cfw noText(@Nullable String noText)
      Parameters:
      noText - text that will be shown on corresponding button in UI popup.

      If this builder method is not called or called with null - default 'Save' action text will be shown (more precisely translation defined in UI will be shown)
      Returns:
      builder