Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 78060 invoked by uid 500); 6 Jul 2001 13:11:31 -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 78049 invoked from network); 6 Jul 2001 13:11:28 -0000 Message-ID: <00e601c1061c$a8cad2c0$5be94cc1@pisa.iol.it> From: "Marco Spinetti" To: References: <676EE3B80913D5118D21003048216B760EF838@exchdubl.Berger-Levrault.fr> Subject: R: esql problem Date: Fri, 6 Jul 2001 15:07:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I saw prova_xsp.java and I found this code: ........ while (_esql_query.resultset.next()) { this.characters("\n\t\t\t\t\trowNum = "); (_esql_query.resultset.getInt("result")) this.characters(";\n\t\t\t\t\t"); if (_esql_connection.use_limit_clause == 0 && _esql_query.max_rows != -1 && _esql_query.position - _esql_query.skip_rows == _esql_query.max_rows - 1) { _esql_query.position++; break; } _esql_query.position++; } ........ but I don't see any error. Am I mistake? Marco ----- Original Message ----- From: JEULIN Olivier To: Sent: Friday, July 06, 2001 2:56 PM Subject: RE: esql problem I'm using C1, it was a guess for C2... Let's try again :) : as Chris tolds you, take a look at the generated java file, I bet the ';' is causing this error (taglibs' elements generate java code and are often nested in functions call) Olivier > -----Message d'origine----- > De : Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de] > Envoy� : vendredi 6 juillet 2001 14:49 > � : cocoon-users@xml.apache.org > Objet : Re: esql problem > > > On 06.Jul.2001 -- 02:30 PM, JEULIN Olivier wrote: > > Well, esql:get-int needs a column name, > > so try: "select count(*) as thecount from..." > > and use: > > That's not true. It takes either a label or a number. So > should work (and it's translated correctly > to _esql_query_resultset.getInt(1). Problem seems to be > something else. > > Marco, have a look at the generated source, line 4816 > > /usr/local/home/siteadm/download/jakarta-tomcat-3.2.2/work/loc > alhost_8080%2Fcocoon/org/apache/cocoon/www/elenco/prova_xsp.java > > Chris. > > -- > C h r i s t i a n H a u l > haul@informatik.tu-darmstadt.de > fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: