Changeset 614 for WAeUP_SRP/trunk/skins/waeup_academics/level_created.py
- Timestamp:
- 3 Oct 2006, 13:44:51 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/level_created.py
r486 r614 22 22 dep = context.getContent() 23 23 dep.getContent().edit(mapping={'Title': "Level %s" % dep.getId()}) 24 dep.invokeFactory('Semester','first')25 o = getattr(dep,'first')26 dict = {'Title': 'First Semester'}27 o.getContent().edit(mapping=dict)28 dep.invokeFactory('Semester','second')29 o = getattr(dep,'second')30 dict = {'Title': 'Second Semester'}31 o.getContent().edit(mapping=dict)32 context.orderObjects('id')24 #dep.invokeFactory('Semester','first') 25 #o = getattr(dep,'first') 26 #dict = {'Title': 'First Semester'} 27 #o.getContent().edit(mapping=dict) 28 #dep.invokeFactory('Semester','second') 29 #o = getattr(dep,'second') 30 #dict = {'Title': 'Second Semester'} 31 #o.getContent().edit(mapping=dict) 32 #context.orderObjects('id') 33 33 psm = 'Study Level created' 34 34 action_path = context.getTypeInfo().immediate_view
Note: See TracChangeset for help on using the changeset viewer.