Class ShellTemplate
java.lang.Object
io.mindspice.simplypages.builders.ShellTemplate
- All Implemented Interfaces:
Component
Wrapper around a compiled shell template with a dedicated content slot.
Renders full document HTML including doctype. Thread-safe as long as callers use
request-scoped RenderContext instances, do not mutate shared context concurrently,
and ensure retained custom component delegates are safe to share.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExposes the underlying compiled template for advanced composition.Returns the dedicated shell content slot key.render(RenderContext context) Renders this component using the supplied render context.renderWithContent(Component content) Renders with explicit content bound to the shell content slot.
-
Constructor Details
-
ShellTemplate
-
-
Method Details
-
renderWithContent
-
contentSlot
-
asTemplate
Exposes the underlying compiled template for advanced composition. -
render
Description copied from interface:ComponentRenders this component using the supplied render context.
-