Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@www.apache.org Received: (qmail 38510 invoked from network); 27 Jan 2007 13:38:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jan 2007 13:38:23 -0000 Received: (qmail 2343 invoked by uid 500); 27 Jan 2007 13:38:28 -0000 Delivered-To: apmail-jakarta-taglibs-user-archive@jakarta.apache.org Received: (qmail 1806 invoked by uid 500); 27 Jan 2007 13:38:27 -0000 Mailing-List: contact taglibs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tag Libraries Users List" Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@jakarta.apache.org Received: (qmail 1795 invoked by uid 99); 27 Jan 2007 13:38:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jan 2007 05:38:27 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of brodseba@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jan 2007 05:38:19 -0800 Received: by nf-out-0910.google.com with SMTP id l36so1479456nfa for ; Sat, 27 Jan 2007 05:37:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=Urv+jhNZfG/W4JdUeWmntCrlYYWot2htkCdP4140shrHRKF2aFLwjvwd4K4w7z0GiphddCkVgEc0XFSlSxi1dxs95R5PYZzA+HINJDoO1tmhPKlJd9G2K/0qVwYr3ccuUeO7hKk6SgS3Rcw17iqk8g31No85jCcGYdexvSWUdQo= Received: by 10.82.135.13 with SMTP id i13mr2480137bud.1169905076487; Sat, 27 Jan 2007 05:37:56 -0800 (PST) Received: by 10.82.140.8 with HTTP; Sat, 27 Jan 2007 05:37:56 -0800 (PST) Message-ID: Date: Sat, 27 Jan 2007 14:37:56 +0100 From: "=?ISO-8859-1?Q?S=E9bastien_Brodeur?=" Reply-To: brodseba@iname.com To: "Tag Libraries Users List" Subject: Re: Problem when a use a x:forEach into another x:forEach In-Reply-To: <946762.71836.qm@web56406.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_57808_3557555.1169905076454" References: <946762.71836.qm@web56406.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_57808_3557555.1169905076454 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Rashmi, Thank you for the answer. Have you been able to reproduce the error? Is my syntax wrong (I'm not thrill by Node context :-) ? Even if a try to use a block, I got no error. (I still have to look in the error log thou, first think Monday morning). 1) By using Servlet 2.4 jar, you mean are we using a Servlet 2.4container? If so, yes. 2) I already change the web.xml file to use servlet 2.4 3) I use a local version (I made sure the .tld file are the one coming wit= h the taglibs JSTL 1.1 package.) of the taglibs declaration. So I use: <%@ taglib prefix=3D"c" uri=3D"/WEB-INF/c.tld" %> <%@ taglib prefix=3D"x" uri=3D"/WEB-INF/x.tld" %> instead of: <%@ taglib prefix=3D"c" uri=3D"http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix=3D"x" uri=3D"http://java.sun.com/jsp/jstl/xml" %> If a try the latest, I got a error. (Is it only namespace or some firewall may be blocking those???) Once again, thank you On 1/27/07, Rashmi Rubdi wrote: > > Are you getting any errors in the log? > > When you upgrade from JSTL1.0 to JSTL1.1 you need to make some changes or > verify these changes: > > 1) Use Servlet 2.4 jar > > 2) Change web.xml to servlet 2.4 version: > > xmlns=3D"http://java.sun.com/xml/ns/j2ee" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> > > 3) Change tag library declarations to: > > <%@ taglib prefix=3D"c" uri=3D"http://java.sun.com/jsp/jstl/core" %> > <%@ taglib prefix=3D"x" uri=3D"http://java.sun.com/jsp/jstl/xml" %> > Similarly upgrade other JSTL namespace URIs > > -Rashmi > > ----- Original Message ---- > From: S=E9bastien Brodeur > To: taglibs-user@jakarta.apache.org > Sent: Friday, January 26, 2007 2:03:02 PM > Subject: Problem when a use a x:forEach into another x:forEach > > > I'm currently migrating my application from WebSphere 5 (JSTL 1.0) to > WebSphere 6 (JSTL 1.1), and so far, the XML taglibs give us a lot of > trouble. > > For example : > > > -------------------------------------------------------------------------= ----------------------------- > collections.xml > > > > > horror > Horror novel > > > scifi > Sci-Fi novel > > > > > -------------------------------------------------------------------------= ----------------------------- > books.xml > > > > > scifi > Robots > > > scifi > The Moon is a Hashes Mistress > > > scifi > Spaceship Tropper > > > horror > This > > > > > -------------------------------------------------------------------------= ----------------------------- > books.jsp > > <%@ taglib prefix=3D"c" uri=3D"/WEB-INF/c.tld" %> > <%@ taglib prefix=3D"x" uri=3D"/WEB-INF/x.tld" %> > > > > > > > > > >
    > var=3D"book"> >
  • >
    >
>
> > > -------------------------------------------------------------------------= ----------------------------- > Output (WebSphere 5 using JSTL 1.0) > > Horror novel >
    >
  • This
  • >
> > Sci-Fi novel >
    >
  • Robots
  • >
  • The Moon is a Hashes Mistress
  • >
  • Spaceship Tropper
  • >
> > > -------------------------------------------------------------------------= ----------------------------- > > Output (WebSphere 6 using JSTL 1.1) > > Horror novel >
    >
> Sci-Fi novel >
    >
> > > Any idea how to do that without changing the structure of the two XML > files? > > Thank! > > -- > S=E9bastien Brodeur > brodseba@iname.com > Site Web : http://www.un-programmeur-php.ca/ > > > > > _________________________________________________________________________= ___________ > Cheap talk? > Check out Yahoo! Messenger's low PC-to-Phone call rates. > http://voice.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: taglibs-user-help@jakarta.apache.org > > --=20 S=E9bastien Brodeur brodseba@iname.com Site Web : http://www.un-programmeur-php.ca/ ------=_Part_57808_3557555.1169905076454--