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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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
Ejemplo n.º 9
0
    def __init__(self, **props):

        SubmissionBase.__init__(self, **props)
        self.type = "none"
Ejemplo n.º 10
0
    def __init__(self, **props):

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

        SubmissionBase.__init__(self, **props)
Ejemplo n.º 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)
Ejemplo n.º 12
0
    def __init__(self, **props):
        """ AttrsStorage uses simple attribute storage to store the
        separate fields onto the context.
        """

        SubmissionBase.__init__(self, **props)