cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drasko Kokic <drasko_ko...@yahoo.com>
Subject Re: error null pointer ESQL
Date Wed, 22 Nov 2000 16:11:18 GMT
WAIT A SEC KEVIN !!!

Are you implying that the <esql:error-results> is a
child of the <esql:results> ???

If you look into the esql.xsd file (in the
samples/sql)
you will see that it should be on the same level.

What is the correct schema for esql taglib?
===========================================

TIA
Drasko


--- Kevin Sonney <kevin@webslingerz.com> wrote:
> Davide -
> 
> On Wed, 22 Nov 2000, davide semprini wrote:
> > i try to work in cocoon with this file:
> > 
> > dadde.xml--------------------------
> <trim />
> 
> Looking at the doc, The first thing I'd do is put
> the return data from the
> row-results into a tag, and catch the other
> conditions, like so :
> 
> <!-- result processing -->
> <esql:results>
> <!-- if we have data returned -->
> <esql:row-results>
> <nome><esql:get-string column="nome"/></nome>
> </esql:row-results>
> <!-- if no data is returned -->
> <esql:no-results>
> <blanco>No results returned</blanco>
> </esql:no-results>
> <!-- error in resultset -->
> <esql:error-results>
> <error>There was a database error</error>
> </esql:error-results>
> </esql:results>
> <!-- end result processing -->
> 
> HTH
> 
> -- 
> +-------------------------------------------+
> | Kevin Sonney        kevin@webslingerZ.com |
> | Systems Programmer    www.webslingerZ.com |
> +-------------------------------------------+
> 
> "The weakest link in any civil rights case is always
> the
> defendant. Imagine being a lawyer and getting a call
> from me. That's why I
> try to, uh, behave myself." - Hunter S. Thompson
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Mime
View raw message