Changeset 103 for waeup_product/trunk/skins/waeup_faculty
- Timestamp:
- 27 Oct 2005, 16:06:03 (19 years ago)
- Location:
- waeup_product/trunk/skins/waeup_faculty
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_faculty/create_course.py
r96 r103 41 41 context.invokeFactory(type_name,oid) 42 42 object = getattr(context,oid) 43 ## okw = {'Title': ds.get('Title'),44 ## 'Description': ds.get('Description')45 ## }46 43 object.getContent().edit(mapping=ds,proxy=object) 44 context.notifyCPSDocumentCreation(ob=object) 47 45 psm = 'new %s created' % oid 48 46 context_ti = context.portal_types[context.portal_type] 49 47 index = context_ti.getActionById('view','university_view') 50 48 return getattr(context,index)(psm=psm) 51 ## ret = getattr(context,index)52 ## return REQUEST.RESPONSE.redirect(ret.absolute_url())53 49
Note: See TracChangeset for help on using the changeset viewer.