template::wizard::submit (public)

 template::wizard::submit form_id [ args... ]

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

Add the appropriate buttons to the submit wizard Also create a list of all the buttons The optional -buttons parameter is a list of name-value pairs, in form {name label} {name label...} The valid button names are back, next, repeat, finish

Also writes the params to the form as hidden elements to keep the state of the wizard.

The following values are acceptable for the buttons: back, next and finish. Back buttons are not rendered if the step is the first step, like wise next buttons are not displayed if its the last step. Finish can appear on any step and will finish the current wizard even if not all steps are done.

Parameters:
form_id (required)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 template::adp_level template::adp_level (public) template::element template::element (public) template::element::exists template::element::exists (public) template::util::get_opts template::util::get_opts (public) template::wizard::current_step template::wizard::current_step (private) template::wizard::submit template::wizard::submit template::wizard::submit->template::adp_level template::wizard::submit->template::element template::wizard::submit->template::element::exists template::wizard::submit->template::util::get_opts template::wizard::submit->template::wizard::current_step

Testcases:
No testcase defined.
[ show source ]
Show another procedure: