Ignore:
Timestamp:
27 Oct 2005, 06:51:08 (19 years ago)
Author:
joachim
Message:

=adding and editing of several types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_student/create_jamb.py

    r89 r96  
    4141    context.invokeFactory('Student',s_id)
    4242    student = getattr(context,s_id)   
    43     student.edit(mapping=skw)
     43    student.getContent().edit(mapping=skw)
    4444    context.notifyCPSDocumentCreation(ob=student)
    4545    jamb_id = 'JAMB'
     
    4747    jamb = getattr(student,jamb_id)   
    4848    ds.set('title', name)
    49     jamb.edit(mapping=ds)
     49    jamb.getContent().edit(mapping=ds)
    5050    context.notifyCPSDocumentCreation(ob=jamb)
    5151    psm = 'Student created'
Note: See TracChangeset for help on using the changeset viewer.