I think you may gotten the id and name reversed..


--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/

"The man who does not read good books has no advantage over the man who
cannot read them."
        - Mark Twain (1835-1910)



> -----Original Message-----
> From: alexj [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, February 21, 2003 2:46 PM
> To: Struts Users Mailing List
> Subject: Re: Understanding the Iterate Tag
> 
> 
> Hi here is the *translation* :
> 
> <logic:iterate id="SearchResultBean" name="results" >
>    <bean:write name="results" property="title"/>
>    <bean:write name="results" property="description"/>
> </logic:iterate>
> 
> Alexandre Jaquet
> ----- Original Message -----
> From: "Brian Hart" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 21, 2003 8:36 PM
> Subject: Understanding the Iterate Tag
> 
> 
> I have a JavaBean Array in the session scope which I can loop 
> through in a
> scriptlet to output properties of each member of the array.
> Example:
> <%
> SearchResultBean[] c = (SearchResultBean[]) 
> session.getAttribute("results");
> 
> for (int x = 0; x < c.length; x++){
>   out.println(c[x].getTitle());
>   out.println(c[x].getDescription());
> }
> %>
> 
> What is the equivalent syntax for the above using the struts 
> <logic:iterate>
> tag?
> 
> Thank You,
> Brian
> 
> 
> 
> --------------------------------------------------------------
> --------------
> ----
> 
> 
> > 
> ---------------------------------------------------------------------
> > 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]
> 


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

Reply via email to