struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: JSTL x STRUTS bean display
Date Tue, 10 Dec 2002 14:38:36 GMT
Try changing:

<c:out value="${item.Field1}"/> -> <c:out value="${item.field1}"/>

and:

<c:out value="${item.Field2}"/> -> <c:out value="${item.field2}"/>

Quoting "V. Cekvenich" <vc@basebeans.com>:

> In a secret place: http://jakarta.apache.org/struts/resources
> 
> you can find a link to this (www.basicPortal.com)
>
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/portlets/proj/TasksLstPortlet.jsp?rev=1.4&content-type=text/vnd.viewcvs-markup
> 
> Here is another hiden place, where you can find that this was already 
> answered like 4 times:
> http://www.mail-archive.com/struts-user%40jakarta.apache.org/
> 
> .V
> 
> ps: (new e-mail is vc at baseBeans.com, not vic@baseBeans.com)
> 
> 
> 
> Joao Araujo wrote:
> > 
> >> >
> >> >
> >> >  I have a arraylist  containing a collection of beans, something like
> >> >  :
> >> >  List list = new ArrayList ();
> >> >
> >> >
> >> >  list.add(bean1_1);
> >> >  list.add(bean1_2);
> >> >
> >> >  request.setAttribute ("BEAN1_LIST",  list);
> >>
> >> <c:forEach var="item" items="${requestScope.BEAN1_LIST}">
> >>  <c:out value="${item.Field1}"/>
> >>  <c:out value="${item.Field2}"/>
> >> </c:forEach>
> > 
> > 
> >         This does not work. I tried this before.
> >         Has to be something else.
> > 
> > Joao,
> > 
> >> -- 
> >> To unsubscribe, e-mail:   
> >> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> >> For additional commands, e-mail: 
> >> <mailto:struts-user-help@jakarta.apache.org>
> > 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 


-- 
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