/[papo]/gnue/forms/src/GFObjects/GFBlock.py
ViewVC logotype

Diff of /gnue/forms/src/GFObjects/GFBlock.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by apronotti, Thu Sep 5 20:55:47 2002 UTC revision 1.7 by apronotti, Fri Sep 6 19:24:05 2002 UTC
# Line 89  class GFBlock(GFObj, GFEventAware): Line 89  class GFBlock(GFObj, GFEventAware):
89                              'firstRecord':{'function':self.firstRecord},                              'firstRecord':{'function':self.firstRecord},
90                              'prevRecord':{'function':self.prevRecord},                                                          'prevRecord':{'function':self.prevRecord},                            
91                              'newRecord':{'function':self.newRecord},                              'newRecord':{'function':self.newRecord},
92                                'initQuery':{'function':self.initQuery},
93                                'newRecord':{'function':self.newRecord},                            
94                                'processQuery':{'function':self.processQuery},                            
95                                'processCommit':{'function':self.processCommit},
96                                'processRollback':{'function':self.processRollback},                            
97                              }                              }
98    
99    def __getitem__(self, index):    def __getitem__(self, index):
# Line 269  class GFBlock(GFObj, GFEventAware): Line 274  class GFBlock(GFObj, GFEventAware):
274      GDebug.printMesg(1, "processing commit on block %s"%self.name,1)      GDebug.printMesg(1, "processing commit on block %s"%self.name,1)
275      self.mode='commit'      self.mode='commit'
276    
277        if not hasattr(self,'_precommitRecord'):
278          self._precommitRecord = self._currentRecord
279          
280      self._resultSet.setRecord(self._precommitRecord)      self._resultSet.setRecord(self._precommitRecord)
281    
282      if not self._dataSourceLink.hasMaster():      if not self._dataSourceLink.hasMaster():

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26