You have to (in a servlet or in the JSP before the display tag) split
the checks Vector into two Vectors each containing half of the checks.
 Then add these two Vectors to a new Vector called displayChecks or
something.  Then for your display tag stuff:

<display:table name="<%=displayChecks%>" id="check"
length="<%=displayChecks.size()%>"
pagesize="25" offset="0">
               <display:column title="">
                       <jsp:getProperty name="check[0]"
property="checkNumber" />
                       (<jsp:getProperty name="check[0]"
property="checkDateStr" />)
               </display:column>
               <display:column title="">
                       <jsp:getProperty name="check[1]"
property="checkNumber" />
                       (<jsp:getProperty name="check[1]"
property="checkDateStr" />)
               </display:column>
</display:table>

So the first column is pulling data from the first Vector and the
second column from the second Vector.  Make sense?


On Thu, 03 Feb 2005 08:14:22 -0800, SourceForge.net
<[EMAIL PROTECTED]> wrote:
> 
> Read and respond to this message at:
> https://sourceforge.net/forum/message.php?msg_id=2976134
> By: rherrick
> 
> Mark,
> 
> As best I know, there's no direct way to do this.  I've tried to do something
> similar, except with a tabloid-column style display:
> 
> 1          6
> 2          7
> 3          8
> 4          9
> 5          10
> 
> Because it was a fairly small display set, I ended up using <logic:iterate>
> tags from Struts to do this.  It would be really nice to have the capability
> to do this directly within displaytag however.
> 
> ______________________________________________________________________
> 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: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to