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

=adding and editing of several types

Location:
waeup_product/trunk/skins/waeup_student
Files:
4 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'
  • waeup_product/trunk/skins/waeup_student/student_index_html.py

    r91 r96  
    77
    88#return context.student_view_manager()
    9 if not context.portal_membership.isAnonymousUser:
     9if not context.portal_membership.isAnonymousUser():
    1010    roles = member.getRoles()
    1111    if 'Manager' in roles:
  • waeup_product/trunk/skins/waeup_student/student_personal_index_html.py

    r91 r96  
    77
    88#return context.student_view_manager()
    9 if not context.portal_membership.isAnonymousUser:
     9if not context.portal_membership.isAnonymousUser():
    1010    roles = member.getRoles()
    1111    if 'Manager' in roles:
  • waeup_product/trunk/skins/waeup_student/students_folder_view.py

    r91 r96  
    77
    88member = context.portal_membership.getAuthenticatedMember()
    9 if not context.portal_membership.isAnonymousUser:
     9if not context.portal_membership.isAnonymousUser():
    1010    roles = member.getRoles()
    1111    if 'Manager' in roles:
Note: See TracChangeset for help on using the changeset viewer.