The logic iterate tag has "offset" and "length" attributes which you can use to control display subsets to a collection/array.
So if you wanted to show the second page of 10 <logic:iterate id="myLabelBeans" name="myForm" property="myLabelBeans" offset="10" length="10"> <html:checkbox name="myLabelBeans" property="myValue" indexed="true"> <bean:write name="myLabelBeans" property="myLabel"/> </html:checkbox> </logic:iterate> If you are using jstl then then <c:forEach> tag has "begin" and "end" attributes <c:forEach var="myLabelBeans" items="$(myForm.myLabelBeans}" begin="10" end="19"> <html:checkbox name="myLabelBeans" property="myValue" indexed="true"> <bean:write name="myLabelBeans" property="myLabel"/> </html:checkbox> </c:forEach> Niall ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 11, 2004 1:47 AM Subject: Multibox/LabelValueBean Input Forms -- Paged Input > I have found an example on the net where a LabelValueBean array and a string > array are encapsulated inside a custom ActionForm object giving the user the > ability to select checkboxed values and store the "values" behind the scene > with labeling each checkbox with the LabelValueBean's label property. > > This works great for small amounts of checkbox input, such as less than 10; > however the goal I have been tasked with is to expand on this where the data > set is say 100 elements and each form page displays a subset of 10 items of > the entire 100 element data set. > > Once the user has traversed through all 100 items or selected those they wish, > the form should contain an array of items that range the entire 100 element > dataset which the user has selected. > > Any thoughts, suggestions, or examples of something like this others have done > in the past? > > Chris > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]