data/TWiki/TWikiUIOopsDotPm.txt,v
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
     1 head	1.2;
     2 access;
     3 symbols;
     4 locks; strict;
     5 comment	@# @;
     6 
     7 
     8 1.2
     9 date	2008.01.22.03.21.29;	author TWikiContributor;	state Exp;
    10 branches;
    11 next	1.1;
    12 
    13 1.1
    14 date	2006.02.01.12.01.25;	author TWikiContributor;	state Exp;
    15 branches;
    16 next	;
    17 
    18 
    19 desc
    20 @new-topic
    21 @
    22 
    23 
    24 1.2
    25 log
    26 @buildrelease
    27 @
    28 text
    29 @---+ Package =TWiki::UI::Oops=
    30 
    31 UI delegate for oops function
    32 
    33 
    34 %TOC%
    35 
    36 ---++ StaticMethod *oops_cgi* <tt>($session)</tt>
    37 
    38 =oops= command handler.
    39 This method is designed to be invoked via the =UI::run= method.
    40 CGI parameters:
    41 | =template= | name of template to use |
    42 | =paramN= | Parameter for expansion of template |
    43 %PARAMn% tags will be expanded in the template using the 'paramN'
    44 values in the query.
    45 
    46 
    47 
    48 ---++ StaticMethod *oops* <tt>($session,$web,$topic,$query,$keep)</tt>
    49 
    50 The body of an oops script call, abstracted out so it can be called for
    51 the case where an oops is required, but all the parameters in the query
    52 must be saved for passing on to another URL invoked from a form in
    53 the template. If $keep is defined, it must be a reference to a hash
    54 (usually an oopsexception) that defines the parameters to the
    55 script (template, def etc). In this case, all the parameters in
    56 the =$query= are added as hiddens into the expanded template.
    57 
    58 
    59 @
    60 
    61 
    62 1.1
    63 log
    64 @buildrelease
    65 @
    66 text
    67 @d11 1
    68 a11 1
    69 This method is designed to be invoked via the =TWiki::UI::run= method.
    70 @