cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: Simple esql problem, I think
Date Wed, 24 Apr 2002 07:09:21 GMT
On 23.Apr.2002 -- 01:20 PM, jsexton@odshp.com wrote:
> 
> I working with on a simple database query with cocoon 2.  I've done
> this with the older cocoon, but here I'm having a processing problem
> of some sort with the taglib.
> 
> The connection pool is fine, that's working, however something goes
> wrong with the esql.  It just sents the client back the xml without an
> attempt to do the query.  I can even add an xsl and that works too,

> And a sitemap entry as follows:
> 
> <map:pipeline>
>      <map:match pattern="**myfile.xml">
>        <map:generate type="file" src="docs/myfile.xml"/>
                       type="severpages"

You've employed the wrong generator. "file" just reads a file while
"serverpages" transforms the tags to code and executes it.

>        <map:serialize type="xml"/>
>      </map:match>
> </map:pipeline>
> 

	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. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message