I have 2 display:table tags in a web page with export="true." Clicking on an export link for EITHER table shows data for first table. Export links work as expected when I remove the first display:table tags. Actually, it doesn't matter what value export is (true or false) for the first table, if the table exists then the 2nd tables export links shows the first tables data. Of course, the links are exactly the same. What am I doing wrong? Code follows.
Yes, Paul Cooper responded with the same thing, that both tables have the id=row. I changed this and it fixed the problem. I knew it something stupid :)
THANKS YA'LL!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have 2 display:table tags in a web page with export="true." Clicking on an export link for EITHER table shows data for first table. Export links work as expected when I remove the first display:table tags. Actually, it doesn't matter what value export is (true or false) for the first table, if the table exists then the 2nd tables export links shows the first tables data. Of course, the links are exactly the same. What am I doing wrong? Code follows.
Jeff Boring
Environment: DisplayTag v1.1.1, SiteMesh v2.3
Link Value 1st table: http://10.0.0.196:8008/userDetails.do?hist=true&d-16544-e=3&6578706f7274=1&clientId=7
Link Value 2nd table: http://10.0.0.196:8008/userDetails.do?hist=true&d-16544-e=3&6578706f7274=1&clientId=7
Web Page [partial] Code:
<display:table name="model.asses"
pagesize="0" export="true"
id="row" requestURI="userDetails.do"
</display:table>
<display:table name="model.clientHist"
pagesize="0"
id="row"
cellspacing="2" cellpadding="2" class="tablesetright"
requestURI="userDetails.do" sort="list" defaultsort="1" export="true"
>
</display:table>
Yes, Paul Cooper responded with the same thing, that both tables have the id=row. I changed this and it fixed the problem. I knew it something stupid :)
THANKS YA'LL!
Export options are related to individual tables. Try giving unique UIDs for tables.
Regards,
Harun
Export options are related to individual tables. Try giving different UIDs for tables.
Regards,
Harun