I suppose this isn't really a struts-specific question, but
anyways...is there a way to have struts tags inside of a scriptlet
loop and have them use a variable from that scriptlet as one of their
attribute values?  I tried

      <form:select property="month" size="1">
      <% for (int i = 1; i <= 12; i++) { %>
        <form:option value="<%= i %>"><%= i %></form:option>
      <% } %>
      </form:select> 

but this (of course) gives me values of "<%= i %>" since it is
quoted...  and escaping the quotes (of course) gives me parse errors
because the attribute value isn't in quotes then.

thanx,
eric.

-- 
 _____  _ 
| ____|(_)     http://www.iit.edu/~jenseri
|  _|  | |     Page me via ICQ at
| |___ | |     http://wwp.mirabilis.com/19022931
|______/ |     or by mailing [EMAIL PROTECTED]
     |__/

Reply via email to