FindChromeStep is responsible for finding a chrome Widget used to theme the target view. If the current webapp.view is not a Widget, this step does nothing.
If a chrome is found, then the chrome widget replaces webapp.view, and the old view is stored in the stash as webapp.chromeView. It's the chrome's responsiblity to then call service on the chromeView.
See docLib::WebApp
Slots
- chromeSource
-
const Uri? chromeUri to the default chrome, or null for no chrome.
- findSource
-
virtual Widget? find(WebReq req, WebRes res)Return the chrome to use for this request, or null for no chrome. Default implementation tries to find a Widget at chrome.
- serviceSource
-
override Void service(WebReq req, WebRes res)Overrides web::WebStep.service
Perform this step against the specified request and response.