def MakeData(self, request, **arg):
     userids = get_grid_arg(request)
     if userids:
         #           userids = userids[self.grid._begin:self.grid._end]
         pos_list_report(self, request, userids, self.report_typeid, **arg)
     else:
         self.SetBlank()
Exemple #2
0
    def MakeData(self, request, **arg):
        userids = get_grid_arg(request)
        if userids:
            #           self.Paging(arg['offset'],item_count=len(userids))
            #           print "offsetoffset=====",arg['offset'],len(userids)
            #           print "self.grid._begin=====",self.grid._begin
            #           print ":self.grid._end======",self.grid._end

            #           userids = userids[self.grid._begin:self.grid._end]
            pos_list_report(self, request, userids, self.report_typeid, **arg)
        else:
            self.SetBlank()
 def MakeData(self, request, **arg):
     userids = get_grid_arg(request)
     if userids:
         posreport(self, request, userids, self.report_typeid, **arg)
     else:
         self.SetBlank()