Index: openacs-4/packages/acs-templating/www/doc/guide/wizard-procs-doc.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/guide/wizard-procs-doc.adp,v diff -u -r1.2.2.3 -r1.2.2.4 --- openacs-4/packages/acs-templating/www/doc/guide/wizard-procs-doc.adp 7 Nov 2016 19:23:16 -0000 1.2.2.3 +++ openacs-4/packages/acs-templating/www/doc/guide/wizard-procs-doc.adp 22 Apr 2017 18:33:51 -0000 1.2.2.4 @@ -21,7 +21,7 @@ its the same as your current wizard file. Has no effect for subwizards.
  • name - use to distinguish between the different wizards, since you can have 1 or more subwizard. name must be no spaces, -alpanumeric similar to normal tcl variable naming convention
  • params - are used to keep values that you would like to pass on +alpanumeric similar to normal Tcl variable naming convention
  • params - are used to keep values that you would like to pass on to the other steps
  • steps - are use to define what includes to use for each step of the wizard
  • @@ -40,7 +40,7 @@ <include src="\@wizard:current_url\@"> -
  • Create the individual steps, these are just normal tcl and/or +
  • Create the individual steps, these are just normal Tcl and/or adp files. So make a step1.tcl, step1.adp, step2.tcl, step2.adp, step3.tcl and step3.adp. Normally this files are self submitting forms
  • Add "template:wizard forward" on each step (eg. @@ -126,9 +126,9 @@ set by "template::wizard set_param", while ad_page_contract will not pick that up since it will get what is the request http var value. This is because "template::wizard -get_param" gets the value from the tcl var while +get_param" gets the value from the Tcl var while ad_page_contract gets the value from the http var. So while -processing in tcl that value may change.
  • +processing in Tcl that value may change.
  • How can you get the url of a wizard that is not your current step?

    You can use the following on your wizard.adp