http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html#subList
(int,%20int)
http://www.ognl.org/2.6.7/Documentation/html/LanguageGuide/methods.html
<span jwcid="@For" source="ognl:myList.subList(start,end)"
value="ognl:currentObject">
<tr><td>...</td></tr>
</span>
Robert
On Oct 8, 2007, at 10/810:22 AM , Ken nashua wrote:
martino I am already using the FOR component on my list.
I have a select component that sets a tableSize at the top of page
for a list==100.
If tableSize = 10, then I want to render 10 items within a <TR></TR>
And continue until the list is exhausted.
Then I will see 10 rows. Right?
FOR does not permit this to happen. It is blind.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: does tapestry 4.2 have an iterator component
Date: Mon, 8 Oct 2007 11:19:16 -0400
Thanks Martino but FOR does not cut it. It blindly iterates a
collection from 0..N.
I need a component with which I can manipulate the front end
starting index and jump out break at a specified numeric index.
Example: I have a list of 100 . Now I want to render <tr><td></td></
tr> and show 7 elements and iterate again to do the same until the
list is exhausted. I cannot do this with FOR.
?
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: does tapestry 4.2 have an iterator component
Date: Mon, 8 Oct 2007 10:57:42 -0400
I would like to do some iteration like a true for loop with front,
back and computable boundaries.
Is there such a component?
Best regards
Ken in nashua
Help yourself to FREE treats served up daily at the Messenger Café.
Stop by today!
Peek-a-boo FREE Tricks & Treats for You! Get 'em!
_________________________________________________________________
Climb to the top of the charts! Play Star Shuffle: the word
scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?
icid=starshuffle_wlmailtextlink_oct
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]