The collection and wizard builders that carry their forms documents (spec 5 §11): a view descriptor's v-* document and a wizard's w-* document go into the node's catalog facts, so the bundle serves them with the ui-catalog reply and a client builds the node without knowing the types. Separate from author.hpp so the builders that need no forms documents do not pull in the forms headers.
Definition in file author_forms.hpp.
template<ViewDescriptor View, typename Model>
requires Runs<Model, typename View::query>
A collection node over a view descriptor: the node names the view's query action, and the view's document travels with the node's catalog facts.
- Template Parameters
-
| View | The view descriptor. |
| Model | The model type of the alias; it must run the view's query. |
- Parameters
-
| model | The alias. |
| presentation | The keys that reach every form the view draws; its title replaces the view's heading. |
- Returns
- The node.
Definition at line 47 of file author_forms.hpp.
template<WizardDescriptor Wizard, typename Model>
requires Runs<Model, FirstStepAction<Wizard>>
A wizard node over a flows::Wizard: the node names the first step's action, and the wizard's document travels with the node's catalog facts.
- Template Parameters
-
| Wizard | The wizard. |
| Model | The model type of the alias; it must run the first step. |
- Parameters
-
| model | The alias. |
| presentation | The keys that reach every step's form; its title replaces the view's heading. |
- Returns
- The node.
Definition at line 68 of file author_forms.hpp.