Class UIButtonSpecNavigation

  • Direct Known Subclasses:
    UIButtonSpecSubmit, UIButtonSpecURL

    public abstract class UIButtonSpecNavigation
    extends UIButtonSpec
    This abstract class provides the common features for buttons that can redirect current user.
    Since:
    5.7.1
    • Method Detail

      • setAskBeforeLeavingModifiedForm

        public void setAskBeforeLeavingModifiedForm​(boolean askBeforeLeavingModifiedForm)

        Enables the confirmation when leaving the form with modified data.

        This method has no effect if button is not used in a form managed by EBX®.

        Parameters:
        askBeforeLeavingModifiedForm - true to enable the confirmation before leaving the form if data has been modified, false otherwise.
        See Also:
        setAskBeforeLeavingModifiedForm(boolean)