DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

java programmer from china Nile has posted 6 posts at DZone. View Full User Profile

DisplayTag中如何多个表格在同一页面中的到处问题

05.19.2009
| 1535 views |
  • submit to reddit
        DisplayTag中如何多个表格在同一页面中的到处问题。displaytag会根据根据uid的标签来区别不同的表格。

<displaytag:table uid="abc" name="abcDatas"/>
<displaytag:table uid="def" name="defDatas"/>

假如uid相同的话,displaytag总会导出第一个表格的数据。而不能导出第二个表格,只要加上不同的uid就能区分了。