SAIF.Presentation.Web.Core.Infragistics103 operations and processes¶
This page is the operation catalog and cross-operation hub for this library. Each operation's detailed, step-by-step logic lives in its own page under operations/.
Operation catalog¶
| Operation | Intent | Trigger | Inputs | Outputs | Rules |
|---|---|---|---|---|---|
| Build authorized navigation context | Load the set of menu items a user is authorized to see | Application code constructs New NavigationContext(user) |
User identifier string | Populated NavigationContext with MenuAuthorizedItems |
BR-NC-001 |
| Resolve current menu item / page identity | Determine the current page's authorized menu item | Page code requests its own menu/page identity | Category string, current request URL | clsMenuAuthorizedItem or Nothing |
BR-NC-002 |
| Page initialization and session keep-alive | Initialize page state and register a session keep-alive script | ASP.NET Init/Load lifecycle on any AppViewPageBase-derived page |
Page/session state | Registered client script blocks, control CSS resets | BR-AVPB-001 |
| Grid column/sort/size preference persistence | Apply, save, and clear per-user grid layout preferences | Explicit call from consuming page code around grid data-bind/postback | Grid instance, optional size div | Grid layout applied/persisted, or an ORDER BY-style string | — |
| Highlight grid rows/cells with broken business rules | Visually flag grid cells bound to invalid business-object properties | Explicit call after a save/validate attempt on a WebDataGrid |
The grid | Boolean (whether any error was found), CSS/focus side effects |
BR-AVPB-002 |
| Send email via legacy SOAP mail service | Send outbound email with or without an attachment | Explicit call from consuming application code | To/from/subject/(optional message, attachment) | Boolean result* |
— |
| Stream a file download | Stream an existing file to the HTTP response as a download | Explicit call from consuming page code | Virtual filename, hosting page | HTTP response written with file bytes | BR-CMM-001 |
| Focus-control script generation | Generate client-side JavaScript that focuses a target control on page render | Page_PreRender on any AppViewMasterPageBase-derived master page |
FocusControl property |
Registered startup script | — |
Inherited operations and processes¶
This section documents an operation performed by a base-framework type this library's AppViewPageBase extends. It is retrieved from SAIF.Presentation.Web.MVC's own documentation and is listed here so this page's operation coverage is self-contained; see that library's operations and processes page for further detail.
From ViewPageBase (SAIF.Presentation.Web.MVC)¶
| Operation | Intent | Trigger | Inputs | Outputs | Rules |
|---|---|---|---|---|---|
| Page/control lifecycle initialization | Orchestrate the WebForms page/control request lifecycle: timeout check, authentication, menu authorization, model pre-init, query-string handling.† | ViewPageBase.Page_Init / ViewControlBase.Page_Init, invoked ahead of AppViewPageBase's own Page_Init/Page_Load handling (CallSessionPing, grid preference application).† |
Current HttpContext (session, query string, request path)† |
Populated Model, Session("navdata"), possible redirect/response termination† |
INH-MVC-008 |
Process flow diagram¶
The following diagram visualizes the primary operational flow from page request through navigation-context resolution and grid/UI rendering.
flowchart TD
Start([Page request]) --> Init[Page_Init / Page_Load]
Init --> Ping[CallSessionPing]
Init --> Nav[Build/resolve NavigationContext]
Nav --> Auth{Authorized item found?}
Auth -->|Yes| Render[Render page, apply grid preferences]
Auth -->|No| Fallback[Nothing returned, page continues unauthorized-item handling]
Render --> Save{User saves data?}
Save -->|Yes, validation fails| Highlight[Highlight grid rows with broken rules]
Save -->|Yes, validation passes| Persist[Persist preferences / send mail / stream download]
Save -->|No| EndNoop([End])
Failure and edge-case behavior¶
NavigationContext.Newhas no branch/error handling in the constructor; failures surface as unhandled exceptions from the Oracle data layer orSAIF.Business.Menucollection calls.GetItem/GetCurrentItem/GetCurrentPagereturnNothing/empty result without further lookup when the application code itself cannot be resolved.ApplySortPreferenceswraps each column application in aTry/Catchthat silently ignores a missing/renamed column key.SetErrorColorInGridsilently skips a broken-rule-to-cell lookup failure viaTry/Catch(e.g., column not present in the grid).SendMail/SendMailWithAttachmenthave no error handling around the SOAP call; a service fault propagates as an unhandled exception.- Accessing
Help*properties beforeHelpFolderNameis set throws an unhandledApplicationException.
Related documentation¶
Note: Statements marked with
†are derived from dependency library documentation via the Legends CLI. Statements marked with*were inferred from code structure or contextual evidence. Statements marked with**could not be confirmed; treat as unknown until verified.
Sources¶
- SAIF.Presentation.Web.Core.Infragistics103\NavigationContext.vb
- SAIF.Presentation.Web.Core.Infragistics103\AppViewPageBase.aspx.vb
- SAIF.Presentation.Web.Core.Infragistics103\AppViewMasterPageBase.vb
- SAIF.Presentation.Web.Core.Infragistics103\clsMailMessage.vb
- SAIF.Presentation.Web.MVC\ViewPageBase.aspx.vb (via
SAIF.Presentation.Web.MVCdocumentation)