I like the simplicity of the code. Don't have
JSTL installed. I'll have to set it up.
----- Original Message -----
From: "Raible, Matt" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 4:21 PM
Subject: RE: <html:options for simple 1-50 menu
> Use JSTL's forEach with "begin" and "end" attributes.
>
> <c:forEach begin="0" end="50" step="1" var="option">
> <c:out value="${option}"/>
> </c:forEach>
>
> -----Original Message-----
> From: Barry Volpe [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 09, 2003 5:08 PM
> To: Struts Users Mailing List
> Subject: <html:options for simple 1-50 menu
>
>
> What is the easiest way to create a menu with name and values of 1-50.
>
> Should I do this strictly in my JSP? Should I use a <% for loop %>?
>
> Seems like alot of work to use <html:options Collection just to generate
> numbers 1-50.
>
> Barry
>
>
>
> ---------------------------------------------------------------------
> 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]