Confirmation Banner

Content Type: Module
Categories: User Interface

Overview

Use this module to replace of all your Mendix popup messages with toast notifications. This module:

  1. Is completely out-of-the-box Mendix.
  2. Works with both Microflows and Nanoflow (incl offline).
  3. Has no dependencies to other modules.
  4. Allows multiple notifications at the same time (configurable).
  5. Has configurable closing time and does not require a click of the user.
  6. Works with both SCSS and CSS (custom) variables.

This module can be used to place a banner on top of your page (or the place you like) instead of a standard Mendix popup messages. This notification will be closed automatically after a configurable time and does not require a click of the user. 

Documentation

How to implement

1) Provide access rights for module roles User and Administrator.

2) Place Snippet_ConfirmationBanner on top in your master layout(s) in which you want to be able to show the banner.

3) Use the Microflow NOP_ConfirmationBanner_Update or Nanoflow NOP_ConfirmationBanner_UpdateNF to show the banner with the text you provide. It will close automatically. The parameters ENUM_MessageType and CloseInMs are optional. If left empty, banner will close after a default number of milliseconds and will have a default style.

 

- Optional - 

1) Place Snippet_ConfirmationBannerSettings on an adminpage. This will allow you to override default closing times, or allow you to use multiple popups. This snippet also contains buttons for testing purposes.

2) If you don't like the banners to be present while opening new pages, you can use NOP_DeleteConfirmationBanners in the MFs that open pages.

3) If you want to make this multilingual, you can use an enum in your own app and use getCaption in your input parameter.

Releases

Version: 2.2.0
Framework Version: 10.18.1
Release Notes: Added offline functionality
Version: 2.1.0
Framework Version: 10.17.0
Release Notes: Now works with CSS variables as well as SCSS variables.
Version: 1.0.0
Framework Version: 9.24.31
Release Notes: First release