data/TWiki/TWikiUIEditDotPm.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.3;
     2 access;
     3 symbols;
     4 locks; strict;
     5 comment	@# @;
     6 
     7 
     8 1.3
     9 date	2008.01.22.03.21.34;	author TWikiContributor;	state Exp;
    10 branches;
    11 next	1.2;
    12 
    13 1.2
    14 date	2007.01.16.04.12.05;	author TWikiContributor;	state Exp;
    15 branches;
    16 next	1.1;
    17 
    18 1.1
    19 date	2006.02.01.12.01.25;	author TWikiContributor;	state Exp;
    20 branches;
    21 next	;
    22 
    23 
    24 desc
    25 @new-topic
    26 @
    27 
    28 
    29 1.3
    30 log
    31 @buildrelease
    32 @
    33 text
    34 @---+ Package =TWiki::UI::Edit=
    35 
    36 Edit command handler
    37 
    38 
    39 %TOC%
    40 
    41 ---++ StaticMethod *edit* <tt>($session)</tt>
    42 
    43 Edit command handler.
    44 This method is designed to be
    45 invoked via the =UI::run= method.
    46 Most parameters are in the CGI query:
    47 
    48 | =cmd= | Undocumented save command, passed on to save script |
    49 | =onlywikiname= | if defined, requires a wiki name for the topic name if this is a new topic |
    50 | =onlynewtopic= | if defined, and the topic exists, then moans |
    51 | =formtemplate= | name of the form for the topic; will replace existing form |
    52 | =templatetopic= | name of the topic to copy if creating a new topic |
    53 | =skin= | skin(s) to use |
    54 | =topicparent= | what to put in the topic prent meta data |
    55 | =text= | text that will replace the old topic text if a formtemplate is defined (what the heck is this for?) |
    56 | =contenttype= | optional parameter that defines the application type to write into the CGI header. Defaults to text/html. |
    57 | =action= | Optional. If supplied, use the edit${action} template instead of the standard edit template. An empty value means edit both form and text, "form" means edit form only, "text" means edit text only |
    58 
    59 
    60 @
    61 
    62 
    63 1.2
    64 log
    65 @buildrelease
    66 @
    67 text
    68 @d12 1
    69 a12 1
    70 invoked via the =TWiki::UI::run= method.
    71 @
    72 
    73 
    74 1.1
    75 log
    76 @buildrelease
    77 @
    78 text
    79 @d2 1
    80 a26 1
    81 
    82 @