摘要:
最近一段时间的项目都是在Play这个框架上进行开发的,挺强大的,但不足之处也挺多的。今天分享下play中强大的标签,遍历list,map类型的数据的用法。遍历单纯的list数据,例如:List peoples;#{list peoples,as:'people'} //peoples为list对象,people为实体变量名 ,name则为实体相对应的属性值 ${people.name} #{/list}遍历list中泛化的map类型,例如:List> peoples; #{list peoples,as:'people'} //peoples为list对象 阅读全文
posted @ 2013-12-24 17:56
记性特差
阅读(539)
评论(0)
推荐(0)