Package =TWiki::UI::UploadUI delegate for attachment management functionsOn this page:
StaticMethod attach ($session)attach command handler.
This method is designed to be
invoked via the UI::run method.
Generates a prompt page for adding an attachment.
StaticMethod upload ($session)upload command handler.
This method is designed to be
invoked via the UI::run method.
CGI parameters, passed in $query:
| |||||||||||
Added: | |||||||||||
> > |
filepath2 | | upto
| filepath9 | | upto | ||||||||||
| |||||||||||
Added: | |||||||||||
> > | Your form should be defined similar to following: | ||||||||||
Package =TWiki::UI::UploadUI delegate for attachment management functionsOn this page:
StaticMethod attach ($session) | ||||||||
Changed: | ||||||||
< < | upload command handler. | |||||||
> > | attach command handler. | |||||||
This method is designed to be | ||||||||
Changed: | ||||||||
< < | invoked via the TWiki::UI::run method. | |||||||
> > | invoked via the UI::run method. | |||||||
Changed: | ||||||||
< < | Adds the meta-data for an attachment to a toic. Does not upload | |||||||
> > | Generates a prompt page for adding an attachment. | |||||||
Deleted: | ||||||||
< < | the attachment itself, just modifies the meta-data. | |||||||
StaticMethod upload ($session)upload command handler.
This method is designed to be | ||||||||
Changed: | ||||||||
< < | invoked via the TWiki::UI::run method. | |||||||
> > | invoked via the UI::run method. | |||||||
CGI parameters, passed in $query:
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
Changed: | ||||||||
< < | Does the work of uploading a file to a topic. Designed to be useable as a REST method (it will redirect to the 'view' script unless the 'noredirect' parameter is specified, in which case it will print a message to | |||||||
> > | Does the work of uploading a file to a topic. Designed to be useable for a crude RPC (it will redirect to the 'view' script unless the 'noredirect' parameter is specified, in which case it will print a message to | |||||||
STDOUT, starting with 'OK' on success and 'ERROR' on failure. |
Package =TWiki::UI::UploadUI delegate for attachment management functionsOn this page:
StaticMethod attach ($session) | |||||||||||||
Added: | |||||||||||||
> > | |||||||||||||
upload command handler.
This method is designed to be
invoked via the TWiki::UI::run method.
Adds the meta-data for an attachment to a toic. Does not upload
the attachment itself, just modifies the meta-data.
StaticMethod upload ($session)upload command handler.
This method is designed to be
invoked via the TWiki::UI::run method.
CGI parameters, passed in $query:
|
Package =TWiki::UI::UploadUI delegate for attachment management functionsOn this page:
StaticMethod attach ($session)upload command handler.
This method is designed to be
invoked via the TWiki::UI::run method. | |||||||||||||
Changed: | |||||||||||||
< < | Attach a file to a topic. CGI parameters are: | ||||||||||||
> > | Adds the meta-data for an attachment to a toic. Does not upload | ||||||||||||
Added: | |||||||||||||
> > | the attachment itself, just modifies the meta-data. | ||||||||||||
Deleted: | |||||||||||||
< < |
| ||||||||||||
Deleted: | |||||||||||||
< < | |||||||||||||
StaticMethod upload ($session)upload command handler.
This method is designed to be
invoked via the TWiki::UI::run method.
CGI parameters, passed in $query:
| |||||||||||||
Added: | |||||||||||||
> > | Does the work of uploading a file to a topic. Designed to be useable as a REST method (it will redirect to the 'view' script unless the 'noredirect' parameter is specified, in which case it will print a message to STDOUT, starting with 'OK' on success and 'ERROR' on failure. | ||||||||||||
Package =TWiki::UI::UploadUI delegate for attachment management functionsOn this page:
StaticMethod attach ($session)upload command handler.
This method is designed to be
invoked via the TWiki::UI::run method.
Attach a file to a topic. CGI parameters are:
StaticMethod upload ($session)upload command handler.
This method is designed to be
invoked via the TWiki::UI::run method.
CGI parameters, passed in $query:
|