...discover TWiki details, and how to start your own site.

View | r1.1

Navigation

TWikiUIOopsDotPm 1 - 01 Feb 2006 - Main.TWikiContributor
Line: 1 to 1
Added:
>
>

Package TWiki::UI::Oops

UI delegate for oops function

StaticMethod oops_cgi ($session)

oops command handler. This method is designed to be invoked via the TWiki::UI::run method. CGI parameters:

template name of template to use
paramN Parameter for expansion of template
%PARAMn% tags will be expanded in the template using the 'paramN' values in the query.

StaticMethod oops ($session,$web,$topic,$query,$keep)

The body of an oops script call, abstracted out so it can be called for the case where an oops is required, but all the parameters in the query must be saved for passing on to another URL invoked from a form in the template. If $keep is defined, it must be a reference to a hash (usually an oopsexception) that defines the parameters to the script (template, def etc). In this case, all the parameters in the $query are added as hiddens into the expanded template.


Revision 1 r1 - 01 Feb 2006 - 12:01 - TWikiContributor
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel®, AVR® and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
All other trademarks are the property of their respective owners.
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUIOopsDotPm
Powered by Wed, 08 Feb 2006 build 8740
Syndicate this site