是否可以创建带有嵌入式子表的displaytag表?下面的示例是创建一个Employee报告,其联系方式为子表。
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<display:table id="employees" name="employees" uid="1">
<display:column title="Id" property="employeeId" />
<display:column title="Department" property="department" />
<display:column title="Contact Points" property="contacts">
<display:table id="contacts" name="contacts" uid="2">
<display:column title="Postal Address" property="postalAddress" />
<display:column title="Email" property="emailAddress" />
<display:column title="Cell Phone" property="cellPhoneNumber" />
</display:table>
</display:column>
</display:table>