<logic:iterate id="element" name="myCollectionObject">
        
                <bean:write name="element" property="foo"/><br/>
                <bean:write name="element" property="bar"/><br/>
</logic:iterate>

is this for creating a html-table?

look to http://displaytag.sourceforge.net/
they are cool!

(they "generate" html-table-stuff and iterate over collection...)

cheers,

> -----Original Message-----
> From: Teixeira, Jorge (Informaker) 
> [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 21, 2004 11:15 PM
> To: 'Struts Users Mailing List'
> Subject: LOGIC:INTERATE
> 
> 
> Can you send me one interate sample workin with one object 
> colletion how attribute?
> 
> 
> I'm tried it
> 
>       <logic:iterate name="tb_estadoForm" scope="attribute" 
> id="resultado">
> 
> And
> 
>       <logic:iterate collection="resultado" 
> name="tb_estadoForm" scope="attribute" id="teste">
> 
> 
> My attribute call resultado and my ActionForm is 
> tb_estadoForm the scope is setted how attribute
> 
> 
> But the server return the message "Invalid bean scope null" 
> or "Cannot create iterator for this collection"
> 
> 
> 
> Tanks
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to