Uses of Class
org.apache.juneau.console.freemarker.PageCapture
Packages that use PageCapture
Package
Description
FreeMarker-only delivery of the admin-console chrome: the reserved-classpath
base.ftlh template, the
<@tag> macro, and ConsoleFreemarkerMixin
(registers a reserved-path ClassTemplateLoader on top of the host's own FreemarkerMixin
configuration).-
Uses of PageCapture in org.apache.juneau.console.freemarker
Methods in org.apache.juneau.console.freemarker that return PageCaptureModifier and TypeMethodDescriptionAppends a header badge.Appends a card.Adds a header or footer slot template.PageCapture.footer(Consumer<PageCapture.FooterSpec> c) static PageCapturePageCapture.get(freemarker.core.Environment env) Returns the capture for this render, if one exists.PageCapture.header(Consumer<PageCapture.HeaderSpec> c) PageCapture.mergeBodyAttrs(String attrs) Merge-aware setter for the raw<@body>attribute text: union by attribute name, existing (spec) text first and then the new text.Union merge for the page stylesheets: appends any URL not already present, in first-seen order.Union merge for the page init scripts: appends any URL not already present, in first-seen order.Merge-aware twin oftab(String): first writer wins, and any second non-blank writer is rejected, even with the same value.PageCapture.mergeTheme(String name) Merge-aware twin oftheme(String): first writer wins, a repeat of the same value is a no-op, and a differing second writer is rejected.PageCapture.mergeToolkit(List<String> names) Union merge fortoolkit(List): appends any name not already present, in first-seen order.static PageCapturePageCapture.of(freemarker.core.Environment env) Returns the capture for this render, creating it on first use.PageCapture.require(Collection<String> packs) Records toolkit packs the page needs, in first-seen order.PageCapture.schemeToggle(boolean value) Explicitly selects a nav path (<@node selected="true">).