coldbox-view-rendering

Official

Render ColdBox views and partials efficiently

AuthorColdBox
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Simplifies rendering ColdBox views and partials while managing data passing, layout control, and view-level caching so developers can compose UI fragments safely and consistently.

Core Features & Use Cases

  • View composition: Render full templates and inline partials using renderView() for reusable UI fragments.
  • Data binding: Use prc to pass handler data to templates and keep presentation logic out of views.
  • Caching: Support per-template fragment caching and per-event/template output caching to improve performance.
  • Service rendering & formats: Render views from services (email HTML), select views dynamically based on format or user role, and disable layouts for fragments or streams.
  • BoxLang/CFML compatibility: Examples and patterns for BoxLang templates (.bx/.bxm) with CFML compat considerations.
  • Real-world example: Build a user profile page that composes a cached sidebar fragment, renders role-specific dashboards, and produces email previews from a renderer service.

Quick Start

Render the users/show view with prc.user populated from userService and enable a 60-second view cache.

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: coldbox-view-rendering
Download link: https://github.com/ColdBox/skills/archive/main.zip#coldbox-view-rendering

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.