def __init__(self, **props):

        """ Email submission does... well, you get the idea... """

        self.subject = self.reply_to = self.send_from = self.send_to = ""

        SubmissionBase.__init__(self, **props)
Пример #2
0
    def __init__(self, **props):

        """ AttrsStorage uses simple attribute storage to store the
        separate fields onto the context.
        """

        SubmissionBase.__init__(self, **props)
    def __init__(self, **props):

        """ PyramidSessionStorage stores the data container in the session
        """

        SubmissionBase.__init__(self, **props)

        self.attr_name = props.get("attr_name", DATA_ATTR_NAME)
Пример #4
0
    def __init__(self, **props):
        """ AttrStorage uses simple attribute storage to store the
        whole data container on the context.
        """

        SubmissionBase.__init__(self, **props)

        self.attr_name = props.get("attr_name", DATA_ATTR_NAME)
        self.use_blobstorage = props.get("use_blobstorage", False)
Пример #5
0
    def __init__(self, **props):

        """ AttrStorage uses simple attribute storage to store the
        whole data container on the context.
        """

        SubmissionBase.__init__(self, **props)

        self.attr_name = props.get("attr_name", DATA_ATTR_NAME)
        self.use_blobstorage = props.get("use_blobstorage", False)
Пример #6
0
    def __init__(self, **props):
        """ Method call submission enables calling a method of the
        form context, or attributes thereof. To call methods on
        subparts, do something like 'subattribute.method'.
        """

        SubmissionBase.__init__(self, **props)

        self.submit_method = props.get("submit_method", None)
        self.retrieve_method = props.get("retrieve_method", None)
Пример #7
0
    def __init__(self, **props):

        """ Method call submission enables calling a method of the
        form context, or attributes thereof. To call methods on
        subparts, do something like 'subattribute.method'.
        """

        SubmissionBase.__init__(self, **props)

        self.submit_method = props.get("submit_method", None)
        self.retrieve_method = props.get("retrieve_method", None)
    def __init__(self, **props):

        """ AttrStorage uses simple attribute storage to store the
        whole data container on the context.
        """

        SubmissionBase.__init__(self, **props)

        self.attr_name = props.get("attr_name", DATA_ATTR_NAME)
        self.use_blobstorage = props.get("use_blobstorage", False)
        ucf = props.get("use_compression_for", None)
        ucf = ucf and ucf.split(",") or []
        self._use_compression_for = ucf
Пример #9
0
    def __init__(self, **props):

        SubmissionBase.__init__(self, **props)
        self.type = "none"
Пример #10
0
    def __init__(self, **props):

        """ Email submission does... well, you get the idea... """

        SubmissionBase.__init__(self, **props)
Пример #11
0
    def __init__(self, **props):
        """ Email submission does... well, you get the idea... """

        self.subject = self.reply_to = self.send_from = self.send_to = ""

        SubmissionBase.__init__(self, **props)
Пример #12
0
    def __init__(self, **props):
        """ AttrsStorage uses simple attribute storage to store the
        separate fields onto the context.
        """

        SubmissionBase.__init__(self, **props)