Re: Request eXist BD from cocoon pipe

2007-02-21 Thread Scott Warren
I am not sure what you mean by 'pipe' If all the information comes from eXist then I would just use the XQueryGenerator to execute some XQuery. I have found now that it's easier to write all my Logic in XQuery rather than using XSP etc. You may get more help from the eXist mailing list. Hope th

Re: Dojo & UTF-8

2007-02-21 Thread 許議中
Found it! just set below in template!! var djConfig = { bindEncoding: "utf-8" }; johnson 許議中 提到: > Hi! > > In 2.1.10, when open AJAX Mode, the UTF-8 fonts will become a hex code. > > In 2.1.7 version, the old one, there is a fix in cocoon-ajax.js like > > req.setRequestHeader("Content-Type",

Lower Cocoon's memory usage?

2007-02-21 Thread Gajo Csaba
Is there a way to lower Cocoon's memory consumtion? It currently uses 80 MB on my computer, I would like to lower this to 30-40. Any suggestions? Csaba - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Spring & Blocks question

2007-02-21 Thread Grzegorz Kossakowski
Lally Singh napisał(a): Wonderful! Thanks. On a similar note, how do cocoon blocks connect their sitemaps together, and how does it involve the mountpoint? Servlet service framework is used for this. Take a look on samples in core/cocoon-servlet-service/cocoon-servlet-service-sample. -- Grze

Re: Spring & Blocks question

2007-02-21 Thread Lally Singh
On 2/20/07, Reinhard Poetz <[EMAIL PROTECTED]> wrote: Lally Singh wrote: > Hey all, quick question. > > With Cocoon blocks (using maven 2 archetypes), how are the spring > configurations connected together? If I define a bean called 'peel' > in a block called 'banana', and I'm in another block,

Dojo & UTF-8

2007-02-21 Thread 許議中
Hi! In 2.1.10, when open AJAX Mode, the UTF-8 fonts will become a hex code. In 2.1.7 version, the old one, there is a fix in cocoon-ajax.js like req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; \ charset=UTF-8"); but now ajax is rewrite by DOJO, how to fi

pojo & UTF-8

2007-02-21 Thread 許議中
Hi! In 2.1.10, when open AJAX Mode, the UTF-8 fonts will become a hex code. In 2.1.7 version, the old one, there is a fix in cocoon-ajax.js like req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; \ charset=UTF-8"); but now ajax is rewrite by POJO, how to fi

Re: Ambiguous Java class Import!

2007-02-21 Thread Andrew Madu
Hi, has anyone managed to download the latest rhino src via cvs? I ask because I am unable to access the cvs server with the following details: cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot co mozilla/client.mk cd mozilla make -f client.mk checkout MOZ_CO_PROJECT=browser host "cvs-mirror.mozilla.or

Request eXist BD from cocoon pipe

2007-02-21 Thread Sébastien Geindre
Hi all, I'd like to request the eXist xml native db embedded in cocoon 2.1.10. After handled an httpRequest, i need to request the db through a 'pipe' of several xqueries (time xquery which is based on time intersection coded in java, spatial xquery calling JTS for spatial intersection, ...)

Re: Ambiguous Java class Import!

2007-02-21 Thread Andrew Madu
Hi, the following blog may be of interest to those experiencing flow/rhino/importPackage bug: http://blogs.hippo.nl/niels/ -- Regards Andrew

RE: How to create a pdf with itext by cocoon 2.1

2007-02-21 Thread Jasha Joachimsthal
Hi Kris, Did you see the samples on http://cocoon.zones.apache.org/demos/release/samples/blocks/itext/welcom e ? An alternative is to use the PDF serializer and FOP http://cocoon.apache.org/2.1/userdocs/pdf-serializer.html Regards, Jasha Joachimsthal Hippo Oosteinde 11 1017 WT Amsterdam The Net

Re: SVN address for latest snapshot builds of 2.1.10

2007-02-21 Thread Andrew Madu
Hi Jason, Do you know for sure there has been a fix for your issue in the Cocoon development tree? I haven't seen anything to suggest that. In fact it sounds more like a Rhino issue than something that could be fixed in Cocoon's code. You are correct. It is indeed an rhino bug which has b

How to create a pdf with itext by coco on 2.1

2007-02-21 Thread km
Hello Can someone tell me, how can I make a PDF with itext by cocoon? I found only a poor information about it. Thanks Kris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to upload a file with XSP?

2007-02-21 Thread Gajo Csaba
Hello, Is there a way to upload and process a file by using XSP? I see there's a widget for Cocoon forms, but as I'm using only XSP I can't use that... can I? I have enabled the upload option in Cocoon's config file. I'd like this file to remain in the upload folder, to be renamed to i.

Re: how can i use another pipeline as source for a transformer

2007-02-21 Thread Alexander Malic
hi gerrit, thanx for the fast answer, works like a charm. regards, alex Gerrit boers <[EMAIL PROTECTED]> 21.02.2007 11:40 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject Re: how can i use another pipeline as source for a transformer Like this: r

How to use esql:more-results ?

2007-02-21 Thread Gajo Csaba
Hello, I'm looking at the tutorial on Apache's web site. It says I can limit my search query by using . OK this works well, but now I'd like to add paging. According to the tutorial I should use the and tags to archieve paging. I was guessing that if I write text between these tags, Coc

Re: Prepared query with ESQL?

2007-02-21 Thread Gajo Csaba
On Wed, 21 Feb 2007 11:55:51 +0100, Torsten Curdt <[EMAIL PROTECTED]> wrote: On 21.02.2007, at 11:43, Gajo Csaba wrote: Hello, Is there a way for me to execute a prepared SQL statement? For example, something like: UPDATE User SET display_name=? WHERE ID=? It would be quite a security r

Re: Prepared query with ESQL?

2007-02-21 Thread Torsten Curdt
On 21.02.2007, at 11:43, Gajo Csaba wrote: Hello, Is there a way for me to execute a prepared SQL statement? For example, something like: UPDATE User SET display_name=? WHERE ID=? It would be quite a security risk if I just used the user-submitted data instead of the ? here. Any way to

Prepared query with ESQL?

2007-02-21 Thread Gajo Csaba
Hello, Is there a way for me to execute a prepared SQL statement? For example, something like: UPDATE User SET display_name=? WHERE ID=? It would be quite a security risk if I just used the user-submitted data instead of the ? here. Any way to do this? Thanks, Csaba ---

Re: how can i use another pipeline as source for a transformer

2007-02-21 Thread Gerrit boers
Like this: regards, Gerrit On Feb 21, 2007, at 10:50 AM, Alexander Malic wrote: Hi there, I want to use as source for a transformer the result of another pipeline. how can this be done. down there is just an example how i thought it should work. maybe i want to use a c-include to e

how can i use another pipeline as source for a transformer

2007-02-21 Thread Alexander Malic
Hi there, I want to use as source for a transformer the result of another pipeline. how can this be done. down there is just an example how i thought it should work. maybe i want to use a c-include to enrich the defaultForm_def.xsl with additional templates for the given example. thanx in adv

RE: Ambiguous Java class Import!

2007-02-21 Thread Robby Pelssers, AGP
For what it's worth... I face the exact same problem after upgrading to cocoon2.1.10.The way I solved some nasy ambiguity problems was by doing more coding in java. There at least I'm not facing errors like "ambiguous constructor for ...". And I'm actually wondering if it's not safer to make