Table of Contents

Class: UploadAttachmentPage qm/fields.py

DTML context for generating upload-attachment.dtml.

Base Classes   
web.DtmlPage
Methods   
MakeSubmitUrl
__init__
  MakeSubmitUrl 
MakeSubmitUrl ( self )

Return the URL for submitting this form.

  __init__ 
__init__ (
        self,
        attachment_store,
        field_name,
        encoding_name,
        summary_field_name,
        in_set=0,
        )

Create a new page object.

attachment_store
The AttachmentStore in which the new attachment will be placed.
field_name
The user-visible name of the field for which an attachment is being uploaded.
encoding_name
The name of the HTML input that should contain the encoded attachment.
summary_field_name
The name of the HTML input that should contain the user-visible summary of the attachment.
in_set
If true, the attachment is being added to an attachment set field.

Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1