日期:2014-05-18  浏览次数:20647 次

freemark 在ftl 如何解析两个list
list_1
含有属性
id     property1   property2     ...
1           ..2
2           ..2
3           ..2
4           ..2


list_2
id       property3     property4
1             ...3
1             ...32
1             ...32
2             ...32
2             ...4
我需要在ftl摸板中输出   list1的同时配对list1的id输出list2
请教写法

------解决方案--------------------
你可以试试在action里把这两个list先连接一下,然后再在ftl里显示