-
Notifications
You must be signed in to change notification settings - Fork 1
SingleIterationApplicationTemplate
This component handles the selection of an Iteration if there are many opened. If the user closes all opened Iteration while being inside an application, this component will automatically ask the user to open an Iteration.
All application that works with only one Iteration at the time should use that component. For example:
@inherits SingleIterationPageTemplate
<SingleIterationApplicationTemplate IterationId="@this.RequestedIteration">
<Body>
<ModelDashboardBody />
</Body>
</SingleIterationApplicationTemplate>
The SingleIterationPageTemplate provides the RequestedIteration property and set the Authorize attribute
The ModelDashboardBody components inherits from the SingleIterationApplicationBase component. This component gets an Iteration has CascadingParameter (the CascadingValue is provided by the SingleIterationApplicationTemplate) and also sets the correct URL based the current Iteration.
When inheriting this component, it is required to implement the InitializeValues. This method is used to set specific properties of the ViewModel based on the URL parameter (such as the selected Option, ...)
copyright @ Starion Group S.A.