Hi all,
I'm experiencing strange behavior trying to display multiple (3)
tables on one page. The strange part is that even though the data is
displayed properly, 2 table attributes 'export' and 'pagesize' are
completely ignored for all but the first table. 
I'm using displaytag 1.0-b2. Is this a bug, or I'm doing something
wrong (first time using this tag library); if it's a bug, can anybody
suggest a workaround?

In the code below you can see that I'm displaying 3 tables,
specifying export="true" pagesize="10" for all of them, however, when
the JSP containing the code is processed and the page is displayed,
only the first table is exportable, and pageable.

Thanks for any help.


<% 
    request.setAttribute("ActiveGenericRules",
DDControlPanelServlet.getActiveGenericRules()); 
    request.setAttribute("ActiveSiteSpecRules",
DDControlPanelServlet.getActiveSiteSpecRules()); 
    request.setAttribute("DisabledGenericRules",
DDControlPanelServlet.getDisabledGenericRules()); 
%>

<h2>Active Generic Distribution Rules</h2>

<display:table name="ActiveGenericRules" export="true" pagesize="10"
id="ddrule">
  <display:column property="siteUoiId" title="Site ID" />
  <display:column property="linkType" title="Link Type" />
  <display:column property="extension" />
  <display:column property="serverId" nowrap />
  <display:column property="serverName" title="Host Name" nowrap />
  <display:column property="physicalPath" />
  <display:column property="virtualPath" />
  <display:column property="virtualPathExt" />
  <display:column property="dateDir" />
  <display:column property="isDownload" />
</display:table>

<h2>Active Site Specific Distribution Rules</h2>

<display:table name="ActiveSiteSpecRules" export="true" pagesize="10"
id="ddrule1">
  <display:column property="siteUoiId" title="Site ID" />
  <display:column property="linkType" title="Link Type" />
  <display:column property="extension" />
  <display:column property="serverId" />
  <display:column property="serverName" title="Host Name"/>
  <display:column property="physicalPath" />
  <display:column property="virtualPath" />
  <display:column property="virtualPathExt" />
  <display:column property="dateDir" />
  <display:column property="isDownload" />
</display:table>

<h2>Disabled Generic Distribution Rules</h2>

<display:table name="DisabledGenericRules" export="true"
pagesize="10" id="ddrule2">
  <display:column property="siteUoiId" title="Site ID" />
  <display:column property="linkType" title="Link Type" />
  <display:column property="extension" />
  <display:column property="serverId" />
  <display:column property="serverName" title="Host Name"/>
  <display:column property="physicalPath" />
  <display:column property="virtualPath" />
  <display:column property="virtualPathExt" />
  <display:column property="dateDir" />
  <display:column property="isDownload" />
</display:table>


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to