struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: Iterate tag Tomcat 4.1.12, issue or no?
Date Sun, 15 Dec 2002 21:47:26 GMT
<%
   SessionUtility su = new SessionUtility();
   ArrayList messages =
     (ArrayList)su.getAttribute(session, HomeConstants.MESSAGE_ARRAY);
   pageContext.setAttribute("messages", messages);
%>

<logic:iterate id="myMessage" name="messages">

Mark Conlin wrote:
> I am afraid that still does not work.
> 
> None of these work....
> <logic:iterate id="myMessage" collection="<%=messages%>">
> <logic:iterate id="myMessage" collection=<%=messages%>>
> <logic:iterate id="myMessage" collection="messages">
> 
> 
> -----Original Message-----
> From: Rick Reumann [mailto:maillist@reumann.net] 
> Sent: Sunday, December 15, 2002 7:22 PM
> To: Struts Users Mailing List
> Cc: meconlin@yahoo.com
> Subject: Re: Iterate tag Tomcat 4.1.12, issue or no?
> 
> On Sun, 15 Dec 2002 15:39:23 -0500
> "Mark Conlin" <meconlin@yahoo.com> wrote:
>               
> 
>><%= messages.size() %>
>>            
>><logic:iterate id="myMessage" collection="<%=messages%>">
>><%= myMessage.getSubject() %>
>></logic:iterate>
> 
> 
> Try collection="messages" (without the scriplets).
>  
> 

-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message