def getcaseFloder(): floders = caseDao.getcasebypid(0) result = {'psuiteid': 0, 'floders': floders, 'action': ''} return render_template('case.html', result=result)
def getsuiteFloder(suiteid): floders = caseDao.getcasebypid(suiteid) result = {'psuiteid': suiteid, 'floders': floders, 'action': ''} print floders return render_template('case.html', result=result)