AskUser — Run an interactive workflow
map AskUser( | boolean | has_next, |
string | chosen_id) ; |
Use a "next" button even if the module by itself has only one step, thus would normally have an "OK" button - or would rename the "next" button to something like "finish" or "accept".
If a section proposal contains hyperlinks and user clicks on one of them, this defines the id of the hyperlink. All hyperlink IDs must be set in the map retuned by Description. If a user didn't click on a proposal hyperlink, this parameter is not defined.
Run an interactive workflow - let user decide upon values he might want to change. May contain one single dialog, a sequence of dialogs or one master dialog with one or more "expert" dialogs. The module is responsible for controlling the workflow sequence (i.e., "next", "back" buttons etc.).
Submodules don't provide an "abort" button to abort the entire installation. If the user wishes to do that, he can always go back to the main dialog (the installation proposal) and choose "abort" there.
AskUser() returns a map containing:
Everything OK - continue with the next step in workflow sequence.
User requested to go back in the workflow sequence.
Call this submodule again (i.e., re-initialize the submodule)
Continue with the workflow sequence in the current direction - forward if the last submodule returned `next, backward otherwise.
Finish the installation. This is specific to "inst_mode.ycp" when the user selected "boot system" there.
This module just caused a change of the installation language. This is only relevant for the "language" module.