cbmessagebox

Official

Show consistent flash notifications

AuthorColdBox
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Many ColdBox applications need a reliable, consistent way to show one-time flash notifications across redirects and views; cbmessagebox centralizes message setting, checking, rendering, and clearing so notifications behave predictably in layouts and forms.

Core Features & Use Cases

  • Typed flash messages: set info, success, warning, and error messages from handlers and services.
  • Layout-friendly rendering: render all messages once in a main layout or render specific types near forms.
  • Programmatic control: check for messages, clear specific types or all messages, and customize output templates for frameworks like Bootstrap.
  • Use Case: after a successful save, set a success message and relocate so the layout displays a dismissible Bootstrap alert.

Quick Start

Set a success flash message and redirect so the main layout can render it as a Bootstrap-compatible alert.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cbmessagebox
Download link: https://github.com/ColdBox/skills/archive/main.zip#cbmessagebox

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.