If the elements of the list are just Strings (or other "atomic" types) 
then you won't be able to break them down into sub-properties.  If they 
are composites (i.e. they have getFoo(), getBar(), etc.) you could write 
these properties with:
<bean write name='myFormArrayListElement' property='bar'/>
etc.

Nani Jon wrote:

>Hi all:
>
>Is there a way in struts <logic:iterate ... tag to be able wrap the values coming out 
>of a collection (ArrayList) on a JSP? 
>
>Here is a sample of my JSP code which puts everything on the same <td>:
>
><tr>
>        <logic:present name="results">      
>         <logic:iterate id="myFormArrayListElement" name="results" 
>property="formArrayList" type="String">
>          <td valign="top" colspan="2"><span class="normal">
>           <bean:write name="myFormArrayListElement"/></span>
>          </td>           
>              </logic:iterate>
>        </logic:present> 
>       </tr>
>
> 
>
>Thanks in advance for your help.
>
>Regards,
>
>Nanijon.
>
> 
>
>
>
>---------------------------------
>Do You Yahoo!?
>Yahoo! Finance - Get real-time stock quotes
>  
>


-- 
Check it out: Map -> JavaBean
http://dynclass.sourceforge.net/




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to