Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 4216 invoked by uid 500); 3 Oct 2002 12:46:21 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 4205 invoked from network); 3 Oct 2002 12:46:20 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Antonio Gallardo Rivera Organization: AG Software, S. A. To: cocoon-users@xml.apache.org Subject: Re: How to synchronize combos... Date: Thu, 3 Oct 2002 06:51:14 -0600 User-Agent: KMail/1.4.3 References: <200210030607.58795.agallardo@agsoftware.dnsalias.com> <3D9C38D7.9020504@cbim.it> In-Reply-To: <3D9C38D7.9020504@cbim.it> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200210030651.14795.agallardo@agsoftware.dnsalias.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks Ugo! I know I have a really big problem, I am newbie in Java, XML, XSL and Coc= oon=20 at the same time: 1-XML dont make me problem because is very easy. 2-Cocoon I think is very logical, but have some dark sides to me (I think= ). 3-For Java I need to have the API Docs in a browser to write something :( 4-With XSL I think I know now a little more, but always need to see or ta= ke=20 some code from the already Cocoon code. :( My only strong is that I have a very very hard head. This is why I can st= and=20 on the same problem many times, read some docs and try again and again u= ntil=20 it is done :) Antonio Gallardo El Jueves, 03 de Octubre de 2002 06:32, Ugo Cei escribi=F3: > Antonio Gallardo Rivera wrote: > > if (i > 0) > > { > > a.concat("WHERE cat_id=3D"); > > a.concat(Integer.toString(i)); > > } > > Strings in Java are immutable! The concat(String) method returns a *NEW= * > String [1]. > > =09a =3D a.concat("WHERE cat_id=3D"); > =09a =3D a.concat(Integer.toString(i)); > > Or better yet, use a StringBuffer. > > =09Ugo --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: