BolPolicyHeader default view¶
Default view of BolPolicyHeaderViewComponent. It shows the policy header bar with either a policy dropdown or a plain label.
Purpose¶
- Show the policy dropdown when allowed, otherwise a label (BR-BOLMIDDLEWARE-012).
- Present the associated policies in display order (BR-BOLMIDDLEWARE-015).
Context¶
- Namespace:
BolMiddleware.Pages.Components - Assembly/package:
BolMiddleware
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| View | Pages/Components/BolPolicyHeader/default.cshtml with model BolPolicyModel |
Renders a policyselectvalue select with onchange="this.form.submit(); ShowLoading();" or a label, a hidden policy-number-hidden input, and the Legal Name. |
Behavioral notes¶
- Changing the dropdown submits the context form and reloads the page for the chosen policy.
Constraints and usage notes¶
- Must be placed inside the layout form.
Sources¶
- src/BolMiddleware/Pages/Components/BolPolicyHeader/default.cshtml