I am using struts 2.1.8.  I am extending the 
"org.apache.struts2.components.Select" tag and writing my own "select.ftl" 
(freemarker template).

I need to iterate over the parameter "parameters.list" twice.  

Example:
<@s.iterator value="parameters.list">
   <div>loop1</div>
</@s.iterator>
<@s.iterator value="parameters.list">
    <div>loop2</div>
</@s.iterator>   
  
However, the second iterator doesn't loop.  I think the "parameters.list" is an 
Iterator object so it is already at the end (created by 
org.apache.struts2.util.MakeIterator.convert(Object)).  

Is there a way?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to