Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4594303
By: jwboring

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&clien
tId=7
Link Value 2nd table:
http://10.0.0.196:8008/userDetails.do?hist=true&d-16544-e=3&6578706f7274=1&clien
tId=7

Web Page [partial] Code:

<display:table  name="model.asses"    
                                        pagesize="0" export="true"
                                        id="row" requestURI="userDetails.do"
                                        
                >
                <display:caption>Policy Compliance Status</display:caption>
                <display:column property="enforcementPriority.policy.label" 
title="Policy"
headerClass="thborder" class="thborder"  />
                <display:column property="resultDisplay" title="Compliant"  
headerClass="thborder"
class="thborder"/>
                <display:column property="adminMessages" title="Description" 
headerClass="thborder"
class="thborder" />
                
</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:setProperty name="export.rtf" value="false" />
        <display:setProperty name="export.pdf" value="false" />
        <display:setProperty name="export.csv" value="false" />
        <display:setProperty name="export.excel" value="true" />
        <display:setProperty name="export.excel.filename" value="example.xls"/>
        
        <display:setProperty name="basic.msg.empty_list" value="" />
        <display:caption >Transaction History</display:caption>
        <display:column title="Date" headerClass="thborder" 
class="transactionDate"
sortable="true">
                <fmt:formatDate value="${row.transactionDate}" 
pattern="yy-MM-dd HH:mm:ss" />
        </display:column>
        <display:column property="transactionType" title="Transaction"
headerClass="thborder" class="thborder" sortable="true"/>
        <display:column property="groupLabel" title="Group"  
headerClass="thborder"
class="thborder"/>
        <display:column title="State"  headerClass="thborder" class="status">
                <dash:Status    policyId='${row.outCompliancePolicyId}' 
                                                ilan='${row.ilan}' 
                                                
quarantined='${row.quarantined}' 
                                                ip='${row.currentIpAddress}' 
                                                clientStatusLink='false'
                                                />
        </display:column>
        <display:column title="Policy Compliance"  headerClass="thborder"
class="policyCompliance">
                <dash:PolicyCompliance  
policyCompliance='${row.policyCompliance}' />
        </display:column>
        
        
</display:table>

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to