template::wizard::load_last_visited_step (public)

 template::wizard::load_last_visited_step -key key

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

loads the last visited step from the db

Switches:
-key (required)
unique identifier for a particular wizard normally the main object_id the wizard is manipulating use this step before get_current_step
Author:
Jun Yamog
Created:
june 2003
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_get_client_property ad_get_client_property (public) template::wizard::get_reference template::wizard::get_reference (private) template::wizard::set_visited_step template::wizard::set_visited_step (public) template::wizard::load_last_visited_step template::wizard::load_last_visited_step template::wizard::load_last_visited_step->ad_get_client_property template::wizard::load_last_visited_step->template::wizard::get_reference template::wizard::load_last_visited_step->template::wizard::set_visited_step

Testcases:
No testcase defined.
Source code:

    get_reference

    # check the old visited step on the state manager
    set visited_step [ad_get_client_property -default "" $key ${wizard_name}visited]
    if {$visited_step ne "" } {
        template::wizard::set_visited_step $visited_step
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: