Back to index

plone3  3.1.7
validateClipboardData.py
Go to the documentation of this file.
00001 ##parameters=**kw
00002 ##
00003 from Products.CMFDefault.utils import Message as _
00004 
00005 if context.cb_dataValid():
00006     return context.setStatus(True)
00007 else:
00008     return context.setStatus(False, _(u'Please copy or cut one or more items '
00009                                       u'to paste first.'))