Ejemplo n.º 1
0
    def displayData(self):
        activityIDs =''
        teacherIDs  =''
        return
    
        if self.exculrange_id:
            activityIDs = fetch.exculActivityIDs_forRange(self.exculrange_id)
            teacherIDs  = fetch.exculTeacherIDs_forRange(self.exculrange_id)
	    #rint'fetch.exculTeacherIDs_forRange(self.exculrange_id)', teacherIDs

        if activityIDs:
            activityIDs = activityIDs.split(',')
        else: activityIDs = []
        return
        lv.populateActivities(self.lv_activitiesSelected, activityIDs)
        
        otherActivities = fetch.excul_activities_otherThan(activityIDs)
        lv.populateWithList(self.lv_activityPool, otherActivities)
        
        #rint '>>>>>>>>teacherIDs befor split ;', teacherIDs
        if teacherIDs:
            teacherIDs = teacherIDs.split(',')
        else:
            teacherIDs  = []
        #rint '>>>>>>>>teacherIDs after split;', teacherIDs
        lv.populateExculTeachers(self.lv_teachersSelected, teacherIDs)
        
        otherTeacherIDs = fetch.excul_teacherIDs_otherThan(teacherIDs)
Ejemplo n.º 2
0
    def displayData(self):
        #rint'school_id, semester, schYr, day', gVar.school_id, gVar.semester, gVar.schYr, gVar.dayNo
          
        self.insertion   = ''
        self.replace_id  =  0
        self.replaceName = ''

        listOfExcul = fetch.excul_groups_forSchSemYr(gVar.dayNo,  gVar.semester, gVar.school_id )
        #rint 'listOfExcul' , listOfExcul
        return
        lv.populateWithList(self.list_ctrl_excul, listOfExcul)
        
        otherActivities = fetch.excul_activities_otherThan(listOfExcul)
        lv.populateWithList(self.list_ctrl_activity_pool, otherActivities)

        otherTeachers = fetch.excul_teacherIDs_otherThan(listOfExcul)
        lv.populateWithList(self.list_ctrl_teacher_pool, otherTeachers)