Template based Excel report generator. Just follow the Play convention:
import static play.modules.excel.Excel.renderExcel; ... public static void generateNameCard(Long id) { Contact person = Contact.findById(id); // output file name String filename = person.getEntityId() + ".xls"; renderExcel(person, filename); } http://github.com/greenlaw110/play-excel
没有任何数据可供显示