Logo Search packages:      
Sourcecode: zope-emarket version File versions

def EMarket::TransactionManager::Transaction::manage_edit (   self,
  REQUEST = None,
  origURL = None 
)

Edit the transaction...

Definition at line 67 of file TransactionManager.py.

00067                                                      :
        """
        Edit the transaction...
        """

        result = "OK!"

        self.buyerID = REQUEST.get('buyerID',self.buyerID)
        self.sellerID = REQUEST.get('sellerID',self.sellerID)
        self.sku = REQUEST.get('sku',self.sku)
        self.quantity = REQUEST.get('quantity',self.quantity)
        self.offer = REQUEST.get('offer',self.offer)
        
        if REQUEST is not None:
            if origURL is None:
                origURL = './manage_main'

            result = MessageDialog(
                title='Edited',
                message='<strong>%s</strong> has been edited.' % self.id,
                action = origURL
                )
                        
        return result



Generated by  Doxygen 1.6.0   Back to index