Skip to content

Feature/thymeleaf email template backoffice - #53

Merged
bechte merged 7 commits into
cxdevtools:developfrom
Ole-Ruhl:feature/thymeleaf-email-template-backoffice
Jun 15, 2026
Merged

bechte merged 7 commits into
cxdevtools:developfrom
Ole-Ruhl:feature/thymeleaf-email-template-backoffice

Conversation

@Ole-Ruhl

Copy link
Copy Markdown

Database-driven Thymeleaf email template management

Replaces classpath-based email template resolution with database-stored ThymeleafEmailTemplate items, manageable via
Backoffice or Impex without redeployment.

Changes

  • New ThymeleafEmailTemplate item type with localized template attribute and unique code index
  • EmailTemplateResolverService + DAO backed by FlexibleSearch for runtime template resolution
  • HtmlEmailBuilder: splits template(String, Locale) into template(String) + templateLocale(Locale)
  • Backoffice navigation node and editor area for template management
  • Removes obsolete messagebundle properties and classpath wiring

Migration

Replace .template(name, locale) call sites with .template(resolvedHtml).templateLocale(locale). Migrate existing
classpath templates to ThymeleafEmailTemplate records via Impex.


I hereby agree to the terms of the CX DEV Tools Contributor License Agreement.

…teLocale to locale, replace

  javassist NotFoundException with UnknownIdentifierException
@Ole-Ruhl
Ole-Ruhl force-pushed the feature/thymeleaf-email-template-backoffice branch from 330de1f to 105e304 Compare June 15, 2026 10:02
@bechte
bechte merged commit 8f25b9b into cxdevtools:develop Jun 15, 2026
1 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants