template::wizard::get_visited_step (public)

 template::wizard::get_visited_step

Defined in packages/acs-templating/tcl/wizard-procs.tcl

get the last visited step

See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 template::wizard::get_current_step template::wizard::get_current_step (public) template::wizard::get_visited_step template::wizard::get_visited_step template::wizard::get_current_step->template::wizard::get_visited_step template::wizard::save_last_visited_step template::wizard::save_last_visited_step (public) template::wizard::save_last_visited_step->template::wizard::get_visited_step template::wizard::current_step template::wizard::current_step (private) template::wizard::get_visited_step->template::wizard::current_step template::wizard::get_param template::wizard::get_param (public) template::wizard::get_visited_step->template::wizard::get_param template::wizard::get_reference template::wizard::get_reference (private) template::wizard::get_visited_step->template::wizard::get_reference

Testcases:
No testcase defined.
Source code:

    get_reference

    # let's create the visited steps for the current
    # let's see if the current step is greater what we have visited
    # otherwise we keep the current value
    set last_visitedstep [get_param wizard_visitedstep${wizard_name}]
    set current_step [current_step]
    if { $last_visitedstep < $current_step || $last_visitedstep eq "" } {
        return $current_step
    } else {
        return $last_visitedstep
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: