commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r5643 - trunk/gnue-forms/src


From: jamest
Subject: r5643 - trunk/gnue-forms/src
Date: Mon, 5 Apr 2004 21:08:54 -0500 (CDT)

Author: jamest
Date: 2004-04-05 21:08:54 -0500 (Mon, 05 Apr 2004)
New Revision: 5643

Modified:
   trunk/gnue-forms/src/GFForm.py
Log:
removed a few trigger functions that were not a good idea


Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py      2004-04-06 01:13:11 UTC (rev 5642)
+++ trunk/gnue-forms/src/GFForm.py      2004-04-06 02:08:54 UTC (rev 5643)
@@ -107,15 +107,15 @@
                               
'getAuthenticatedUser':{'function':self.triggerGetAuthenticatedUser,
                                                       'global': True,
                                                       },
-                              
'getCurrentEntry':{'function':self.triggerGetCurrentEntry,
-                                                 'global': True,
-                                                 },
-                              
'getCurrentBlock':{'function':self.triggerGetCurrentBlock,
-                                                 'global': True,
-                                                 },
-                              
'getCurrentPage':{'function':self.triggerGetCurrentPage,
-                                                'global': True,
-                                                },
+#                               
'getCurrentEntry':{'function':self.triggerGetCurrentEntry,
+#                                                  'global': True,
+#                                                  },
+#                               
'getCurrentBlock':{'function':self.triggerGetCurrentBlock,
+#                                                  'global': True,
+#                                                  },
+#                               
'getCurrentPage':{'function':self.triggerGetCurrentPage,
+#                                                 'global': True,
+#                                                },
                               
'setStatusText':{'function':self.triggerSetStatusText,
                                                'global': True,
                                                },
@@ -866,38 +866,38 @@
 
     self._in_trigger_lock = False
 
+#   #
+#   # allow the trigger to get a handle to
+#   # an actual GFEntry object
+#   #
+#   # TODO: WHY?  This seems like a good way to write
+#   # TODO: triggers that break due to internal forms changes
+#   #
+#   def triggerGetCurrentEntry(self):
+#     return self._currentEntry
+# 
+# 
+#   #
+#   # allow the trigger to get a handle to
+#   # an actual GFBlock object
+#   #
+#   # TODO: WHY?  This seems like a good way to write
+#   # TODO: triggers that break due to internal forms changes
+#   #
+#   def triggerGetCurrentBlock(self):
+#     return self._currentBlock
+# 
+#   #
+#   # allow the trigger to get a handle to
+#   # an actual GFPage object
+#   #
+#   # TODO: WHY?  This seems like a good way to write
+#   # TODO: triggers that break due to internal forms changes
+#   #
+#   def triggerGetCurrentPage(self):
+#     return self._currentPage
+ 
   #
-  # allow the trigger to get a handle to
-  # an actual GFEntry object
-  #
-  # TODO: WHY?  This seems like a good way to write
-  # TODO: triggers that break due to internal forms changes
-  #
-  def triggerGetCurrentEntry(self):
-    return self._currentEntry
-
-
-  #
-  # allow the trigger to get a handle to
-  # an actual GFBlock object
-  #
-  # TODO: WHY?  This seems like a good way to write
-  # TODO: triggers that break due to internal forms changes
-  #
-  def triggerGetCurrentBlock(self):
-    return self._currentBlock
-
-  #
-  # allow the trigger to get a handle to
-  # an actual GFPage object
-  #
-  # TODO: WHY?  This seems like a good way to write
-  # TODO: triggers that break due to internal forms changes
-  #
-  def triggerGetCurrentPage(self):
-    return self._currentPage
-
-  #
   # triggerSetStatusText
   #
   # Allows the trigger to display a custom message





reply via email to

[Prev in Thread] Current Thread [Next in Thread]