Jump to content

Subject views

From NeoWiki Demo
Revision as of 12:32, 26 June 2026 by NeoWiki (talk | contribs) (Importing NeoWiki demo data)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A Subject's data can be presented through multiple Layouts, each tailored to a different context. Below, the Sandbox Subject is rendered in three views: the default schema view, plus the SandboxCompact and SandboxDetail layouts.

Edits in any view also propagate to the others without a page reload.

Sandbox Subject uses a dedicated Sandbox schema, so editing it here won't affect any other Subject in the demo wiki.

Custom View Types

View Types are extensible: an extension can register a new way to render Subjects. The SandboxCard layout uses redherb-card, a custom View Type from the bundled RedHerb example extension. It arranges the data as a two-column "document control" card and reads a fullWidthProperties setting from the Layout to span the Description across both columns.