[opencms] Re: [opencms-dev] ContentShow

Corsin Camichel cocaman at gmail.com
Tue Nov 29 14:17:32 CET 2005


Hi and thank you Sigfried

That was the needle I was searching. Sometimes you do not see the easiest
solutions :)

Regards
Corsin

On 11/29/05, Siegfried Puchbauer <siegfried.puchbauer at gmail.com> wrote:
>
> <% 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
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20051129/4f272b2e/attachment.htm>


More information about the opencms-dev mailing list