[opencms] Re: [opencms-dev] ContentShow

Siegfried Puchbauer siegfried.puchbauer at gmail.com
Tue Nov 29 13:05:56 CET 2005


<% ArrayList myList = new ArrayList(); %>
<cms:contentloop element="Name" />
<c:set var="myVar"><cms:contentshow element ="Name"/></c:set>
 <%

myList.add(pageContext.getAttribute("myVar"));

%>
</cms:contentloop>

hth

sigi

2005/11/29, Corsin Camichel <cocaman at gmail.com>:
>
> Hi Jorge
>
> I got thatm but I _really_ need the data in an arrayList. Your version is
> only a string and if I loop trough it overwrites my previous value
>
> On 11/29/05, Jorge González < informatico at hotelparadisepark.com> wrote:
> >
> > <c:set var="myVar"><cms:contentshow element ="Name"/></c:set>
> >
> > <%
> >
> > String theName = (String) pageContext.getAttribute("myVar");
> >
> > %>
> >
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
>
>
> --
> Corsin Camichel
> cocaman at gmail.com
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>


--
Mit freundlichen Grüßen

Siegfried Puchbauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20051129/80cc811c/attachment.htm>


More information about the opencms-dev mailing list