显示:表导出无法正常工作
下面是我使用 display:tag 构造成功创建的表的示例。问题是导出无法正常工作。 Excel文件已保存,但是当我打开它时,我只有标题行,没有数据。我是这个标签的新手,所以我可能错过了一些简单的东西。有什么想法吗?
<display:table name="${KualiForm.negotiationActivityHistoryLineBeans}" export="true" id="row" class="datatable-100" cellpadding="2" cellspacing="0">
<display:column property="lineNumber" title="History Line #"/>
<display:column property="activityType" title="Activity Days"/>
<display:column property="location" title="Location"/>
<display:column property="startDate" title="Start Date"/>
<display:column property="endDate" title="End Date"/>
<display:column property="activityDays" title="Activity Days"/>
<display:column property="efectiveLocationStartDate" title="Effective Location Start Date"/>
<display:column property="efectiveLocationEndDate" title="Effective Location End Date"/>
<display:column property="locationDays" title="Location Days"/>
</display:table>
谢谢, 杰伊
Below is an example of a table that I am successfully creating with the display:tag construct. The problem is the export isn't working correctly. The excel file is saved, but when I open it, all I have is the header row, no data. I am new to this tag, so it's possible I am missing something simple. Any ideas?
<display:table name="${KualiForm.negotiationActivityHistoryLineBeans}" export="true" id="row" class="datatable-100" cellpadding="2" cellspacing="0">
<display:column property="lineNumber" title="History Line #"/>
<display:column property="activityType" title="Activity Days"/>
<display:column property="location" title="Location"/>
<display:column property="startDate" title="Start Date"/>
<display:column property="endDate" title="End Date"/>
<display:column property="activityDays" title="Activity Days"/>
<display:column property="efectiveLocationStartDate" title="Effective Location Start Date"/>
<display:column property="efectiveLocationEndDate" title="Effective Location End Date"/>
<display:column property="locationDays" title="Location Days"/>
</display:table>
Thanks,
Jay
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不确定这是问题的原因,但您是否安装了导出过滤器,如此处?
Not sure this is the cause of your problem, but have you installed the export filter, as documented here?
事实证明,我对 display:table 导出的配置有一些错误,无法与我们的框架配合使用。所以这是一个快速变化的小集合。抱歉打扰论坛了。
It turns out I had some misconfiguration for the display:table export to work with our framework. So it was a small collection of quick changes. Sorry to bother the forum.