Changeset 11949 for main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/widgets/sequencewidget.py
- Timestamp:
- 13 Nov 2014, 14:40:27 (10 years ago)
- Location:
- main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/widgets/sequencewidget.py
r11495 r11949 31 31 32 32 33 class KofaSequenceWidget(ListSequenceWidget):33 class IkobaSequenceWidget(ListSequenceWidget): 34 34 """A sequence widget for lists. 35 35 … … 38 38 """ 39 39 template = ViewPageTemplateFile('sequencewidget.pt') 40 _ kofa_seq_len_changed = False40 _ikoba_seq_len_changed = False 41 41 42 42 def _generateSequence(self): 43 result = super( KofaSequenceWidget, self)._generateSequence()43 result = super(IkobaSequenceWidget, self)._generateSequence() 44 44 if ((self.name + '.add' in self.request.form) or 45 45 (self.name + '.remove' in self.request.form)): 46 self._ kofa_seq_len_changed = True46 self._ikoba_seq_len_changed = True 47 47 return result 48 48 49 49 50 class KofaSequenceDisplayWidget(SequenceDisplayWidget):50 class IkobaSequenceDisplayWidget(SequenceDisplayWidget): 51 51 """A sequence widget for lists. 52 52 … … 100 100 @grok.implementer(IInputWidget) 101 101 def seq_input_widget(obj, field, req, *args, **kw): 102 return KofaSequenceWidget(obj, field, req, *args, **kw)102 return IkobaSequenceWidget(obj, field, req, *args, **kw) 103 103 104 104 … … 106 106 @grok.implementer(IDisplayWidget) 107 107 def seq_display_widget(obj, field, req, *args, **kw): 108 return KofaSequenceDisplayWidget(obj, field, req, *args, **kw)108 return IkobaSequenceDisplayWidget(obj, field, req, *args, **kw)
Note: See TracChangeset for help on using the changeset viewer.