Component websteps
Component index
Section index

Component websteps


Search

Type

Function

Summary

Controls a sequence of web pages

Description

websteps allows you to express a multi-step web scenario using a single application (a single web application).

void setstep (int &step)
void step1 ()
void step10 ()
void step11 ()
void step12 ()
void step13 ()
void step14 ()
void step15 ()
void step2 ()
void step3 ()
void step4 ()
void step5 ()
void step6 ()
void step7 ()
void step8 ()
void step9 ()

Prototypes

void websteps ()

Functags

void setstep (int &step) Optional

Called to validate the target step for the current web request

The different steps in the application are encoded as different url. A user is allowed to "jump" to any step he wants. The setstep functag is allowed to override the target step based on the context. For example, if another variable is not set properly, it may override the target step so it points to the step where the user must select the value of the offending variable.

void step1 () Mandatory

Called when the first step of the scenario must be performed

void step10 () Optional

Called when step 10 of the scenario must be performed

void step11 () Optional

Called when step 11 of the scenario must be performed

void step12 () Optional

Called when step 12 of the scenario must be performed

void step13 () Optional

Called when step 13 of the scenario must be performed

void step14 () Optional

Called when step 14 of the scenario must be performed

void step15 () Optional

Called when step 15 of the scenario must be performed

void step2 () Mandatory

Called when step 2 of the scenario must be performed

void step3 () Optional

Called when step 3 of the scenario must be performed

void step4 () Optional

Called when step 4 of the scenario must be performed

void step5 () Optional

Called when step 5 of the scenario must be performed

void step6 () Optional

Called when step 6 of the scenario must be performed

void step7 () Optional

Called when step 7 of the scenario must be performed

void step8 () Optional

Called when step 8 of the scenario must be performed

void step9 () Optional

Called when step 9 of the scenario must be performed

Fhelpers

void gotosteps (int step)

Execute a given step

void url_gotostep (int target_step, const char *ctl, ...)

Define an hyperlink pointing to another step of the application