RE: Using JavaScript in JPEG-seriaized SVGs??

2004-03-25 Thread robby . pelssers
Have you tried something like text id=Switch1Naam x=40 y=12 style=text-anchor:middle;fill:blue;display:yes xsl:value-of select=name/ /text the style attribute text-anchor can be middle, left , right Check it out !! -Original Message- From: Christofer Dutz [mailto:[EMAIL PROTECTED]

Re: map:generate and gzip content

2004-03-25 Thread Bertrand Delacretaz
Le 25 mars 04, à 08:41, Magne Skjeret a écrit : ...I have a server giving xml out on request. The response is always gzipped, http header or not. Is there anyway that map:generate can take in gzip and unpack it before it is parsed?... AFAIK Cocoon doesn't currently handle gzipped input, but if

German Characters cause Problem in Database Insert

2004-03-25 Thread Tuan Luu
Hi I have a PostgreSQL Database. Data is stored with SQL Transformer into the database. But when I make a select on that table, I see strange symbols instead of the ä, ü, à or è. Is there something wrong with the character settings or localization in cocoon? I have cocoon 2.1.2, tomcat 4.1.29,

AW: Using JavaScript in JPEG-seriaized SVGs??

2004-03-25 Thread Christofer Dutz
Thanks ... never thought it was that simple ;) Now I don't need the script stuff. But still ... I read that it would have been possible, since batik should be able to process the JavaScript stuff (in combination with rhino). Would it be possible to do it the way I tried in the first place?

Re: CachingURICoplet and Flowscript / CForms

2004-03-25 Thread Jon Evans
Hi Jean-Christophe, On 24 Mar 2004, at 18:52, Jean-Christophe Kermagoret wrote: So in your success pipeline you just need to redirect the user to ..bookmark?screen=success where screen is an attribute value of your coplet. I did some experimentation along those lines, but it brought me back to

Re: [CForms][Woody] Transformer eats elements

2004-03-25 Thread Joerg Heinicke
On 25.03.2004 08:39, Jan Hoskens wrote: Hi, I've noticed that when using a default namespace and the woody transfomer, elements are disappearing, leaving an empty tag. While searching the devs maillist, I found the same problem here:

XHTML 1.1 Declaration

2004-03-25 Thread beyaNet Consultancy
Hi, I have specified the following XHTML declaration in my sitemap: map:serializer name=xhtml src=org.apache.cocoon.serialization.XMLSerializer mime-type=text/html logger=sitemap.serializer.xhtml pool-grow=2 pool-max=64 pool-min=2> doctype-public>-//W3C//DTD XHTML 1.1 //EN/doctype-public>

Re: [CForms][Woody] Transformer eats elements

2004-03-25 Thread Jan Hoskens
I'm currently using the release 2.1.4 because it's more likely to be stable (not?). If I switch to the cvs head it may be more difficult to have a stable version and a good reference point for a production environment. I want to switch to the cvs head with my development when the production

Automatic redirection

2004-03-25 Thread Lionel Crine
Hi there, What is the best way to make a redirection at the end of a pipeline ? PS: I do not want to use redirect-to and action. Thanks Lionel Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.58.70.70

Re: Automatic redirection

2004-03-25 Thread David Kavanagh
we wrote a RedirectTransformer. We could share the code. David Thus Spoke Lionel Crine: Hi there, What is the best way to make a redirection at the end of a pipeline ? PS: I do not want to use redirect-to and action. Thanks Lionel Lionel CRINE Ingénieur Systèmes documentaires Société :

Problems with error handling

2004-03-25 Thread Andrey Almirov
Hello dear Cocoon users! I use the Apache Cocoon 2.1-M1, Tomcat 1.4.24, Windows 2000, JDK 1.4. I have the pipeline which performs the upload for file on the server. When user tries upload the big file the corresponding error screan appears. Problem in creating the Request Content length

Re: Automatic redirection

2004-03-25 Thread Lionel Crine
Thanks for your proposition. I though there was an already cocoon technical answer to my question, but accodring your answer there 's not. For now, we're using an xsl stylesheet to make the redirection. But I think this is not cleaner way to do it even if it's it's working. I'm interesting to

Re: [CForms][Woody] Transformer eats elements

2004-03-25 Thread Tim Larson
On Thu, Mar 25, 2004 at 01:25:04PM +0100, Jan Hoskens wrote: I'm currently using the release 2.1.4 because it's more likely to be stable (not?). If I switch to the cvs head it may be more difficult to have a stable version and a good reference point for a production environment. I want to

JSP pages and xml

2004-03-25 Thread Garrick Dasbach
Hi, Currently we are using JSP pages and the JSPGenerator to produce the XML necessary to start each of our pipelines. However, we have noticed that if we request the XML directly, such as through a view, the XML appears in our browser as mime-type text/html, even though we are using the xml

Re: XHTML 1.1 Declaration

2004-03-25 Thread beyaNet Consultancy
Hi, has anyone got any ideas to this problem. For example I was thinking of something like: map:serializer name=xhtml src=org.apache.cocoon.serialization.XMLSerializer mime-type=text/html logger=sitemap.serializer.xhtml pool-grow=2 pool-max=64 pool-min=2> doctype-public>-//W3C//DTD XHTML

XSP Page : Session and Authentication

2004-03-25 Thread olivier demah
Hi, I would like to know how i can get information that exist in the authentication/ stream. Here is my xsp page : 1-xsp:logic 2- String id_blog_user = request.getParameter(id_blog_user); 3- if (id_blog_user.equals(null)) { 4- id_blog_user = session:getxml context=authentication

Re: XHTML 1.1 Declaration

2004-03-25 Thread Michael Roth
Hi, The HTML-Generator (http://cocoon.apache.org/2.1/userdocs/generators/html-generator.html) uses JTidy for proper output, you can configure how jtidy is doing it. map:generator type=html src="" jtidy-configjtidy.properties/jtidy-config /map:generator Sample Config File (jtidy.properties)

RE: [Stammtisch] Evening Cocoon GetTogether in Amsterdam, April 19

2004-03-25 Thread Arje Cahn
Damn! Terrible mistake.. The date should be April 19th !! Sorry. (April 12 is the registration deadline of XMLEurope :=/ ) Arje -Original Message- From: Arje Cahn Posted At: Thursday, March 25, 2004 2:50 PM Posted To: Cocoon User List Conversation: [Stammtisch] Evening Cocoon

Re: XSP Page : Session and Authentication

2004-03-25 Thread julien bloit
Hi, Use xsp-session-fw instead : xsp-session-fw:getxml context=authentication as=xml path==/authentication/data/id_blog_user/ and declare in your xsp tag : xmlns:xsp-session-fw=http://apache.org/xsp/session-fw/1.0; HTH, Julien Bloit - Original Message - From: olivier demah [EMAIL

Re: [CForms][Woody] Transformer eats elements

2004-03-25 Thread Jan Hoskens
Ok, I'll give it a try! :) Can I just use that EffectWidgetReplacingPipe.java. replace it and rebuild the cocoon then? Or is it a patch file that I need? Kind Regards, Jan - Original Message - From: Tim Larson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 3:03

Re: XSP Page : Session and Authentication

2004-03-25 Thread olivier demah
julien bloit a écrit : Hi, Use xsp-session-fw instead : xsp-session-fw:getxml context=authentication as=xml path==/authentication/data/id_blog_user/ and declare in your xsp tag : xmlns:xsp-session-fw=http://apache.org/xsp/session-fw/1.0; thanks ! i knew that had to exist :-) HTH, Julien Bloit

Re: Problems with error handling

2004-03-25 Thread Mark Lundquist
On Mar 25, 2004, at 4:55 AM, Andrey Almirov wrote: Hello dear Cocoon users! When user tries upload the big file the corresponding error screan appears. Problem in creating the Request Content length exceeds maximum upload size I can not understand how to I can controll this exception? I have

Re: [CForms][Woody] Transformer eats elements

2004-03-25 Thread Joerg Heinicke
On 25.03.2004 16:09, Jan Hoskens wrote: Ok, I'll give it a try! :) Can I just use that EffectWidgetReplacingPipe.java. replace it and rebuild the cocoon then? Or is it a patch file that I need? Just compare both versions and add the three lines to your EffectWidgetReplacingPipe:

Re: JSP pages and xml

2004-03-25 Thread Joerg Heinicke
On 25.03.2004 15:08, Garrick Dasbach wrote: Hi, Currently we are using JSP pages and the JSPGenerator to produce the XML necessary to start each of our pipelines. However, we have noticed that if we request the XML directly, such as through a view, the XML appears in our browser as mime-type

Re: [CForms][Woody] Transformer eats elements

2004-03-25 Thread Tim Larson
On Thu, Mar 25, 2004 at 07:10:37PM +0100, Joerg Heinicke wrote: On 25.03.2004 16:09, Jan Hoskens wrote: Ok, I'll give it a try! :) Can I just use that EffectWidgetReplacingPipe.java. replace it and rebuild the cocoon then? Or is it a patch file that I need? Just compare both versions and

Readers, DatabaseReader, and MimeTypes

2004-03-25 Thread Kist, Paul
I am having an issue concerning Mime-Types and the DatabaseReader (and readers in general) I am trying to read PDFs from a database, as well as from the file system, and in both cases, the PDF gets streamed into the browser, and Acrobat is not being launched. For some reason the correct

[chaperon] reading Excel CSV

2004-03-25 Thread Joerg Heinicke
Hello, I know it's slightly offtopic as I can probably set up the Cocoon part myself. The question is more about the grammar for Chaperon. Has anybody managed to feed Excel CSV files into the pipeline. It would work with the simple quote.grm delivered with Cocoon, but this one is absolutely not

Re: [chaperon] reading Excel CSV

2004-03-25 Thread Stephan Michels
Am Do, den 25.03.2004 schrieb Joerg Heinicke um 20:46: Hello, I know it's slightly offtopic as I can probably set up the Cocoon part myself. The question is more about the grammar for Chaperon. Has anybody managed to feed Excel CSV files into the pipeline. It would work with the simple

Re: JSP pages and xml

2004-03-25 Thread Garrick Dasbach
Yeah, I'll do that. Just wanted to make sure it wasn't something I could fix with a configuration change. Thanks -- Garrick Dasbach Software Development Digonex Technologies, Inc. 317.638.4174 Fax CONFIDENTIALITY NOTICE: The information in this transmission is

Re: [chaperon] reading Excel CSV

2004-03-25 Thread Joerg Heinicke
On 25.03.2004 20:55, Stephan Michels wrote: I know it's slightly offtopic as I can probably set up the Cocoon part myself. The question is more about the grammar for Chaperon. Has anybody managed to feed Excel CSV files into the pipeline. It would work with the simple quote.grm delivered with

Re: [chaperon] reading Excel CSV

2004-03-25 Thread Joerg Heinicke
On 25.03.2004 21:08, Joerg Heinicke wrote: DATE,EVENT,VENUE,RACE DISTANCE,ORGANISER,CONTAC No. JAN, 17th,GAUTENG NORTH AQUATHLON CHAMPS,Blue Bay quarry,Standard (run-swim-run),JOHAN KOK,072 659 2014 24th,TUKKIES TRIATHLON,ROODEPLAAT,1/2 Standard,ALBIE DE LANGE,082 453 0096 31st,TRI CHAMPS,

svg2jpeg Problem, Please help

2004-03-25 Thread Tuan Luu
hello As long as I use the svgxml serializer everything is working fine, but when I use the svg2jpeg I receive the error Message: Image cannot be displayed, because it contains errors. What am I missing? here is the sitemap: map:pipeline map:match pattern=getsvg.svg

Continuations in Redirections

2004-03-25 Thread leo leonid
Hi all, For a dynamic Site with lots of customization I had the following in mind: 1. User must not be redirected when/after changing some settings 2. User may change settings anywhere and anytime he wants to. 2. Changes are applied immediately. (no confirm, or reload) I reached all these

Re: Reporting a bug

2004-03-25 Thread Joerg Heinicke
On 27.02.2004 04:15, Guy Worthington wrote: I'm not brave enough to use bugzilla. (Actually that's not quite true, but it sounds much better than I'm too stupid to use bugzilla. And if there's one thing I'm good at it's self-delusion.) Let's blame bugzilla's bad usability for it :) I wanted a

Re: AW: Using JavaScript in JPEG-seriaized SVGs??

2004-03-25 Thread Joerg Heinicke
On 25.03.2004 10:01, Christofer Dutz wrote: Thanks ... never thought it was that simple ;) Now I don't need the script stuff. But still ... I read that it would have been possible, since batik should be able to process the JavaScript stuff (in combination with rhino). Would it be possible to do

Re: German Characters cause Problem in Database Insert

2004-03-25 Thread Joerg Heinicke
On 25.03.2004 09:39, Tuan Luu wrote: Hi I have a PostgreSQL Database. Data is stored with SQL Transformer into the database. But when I make a select on that table, I see strange symbols instead of the ä, ü, à or è. Is there something wrong with the character settings or localization in

Re: Blocking xsl:message output with Saxon in Cocoon?

2004-03-25 Thread Joerg Heinicke
On 23.03.2004 23:04, Andrzej Jan Taramina wrote: Anyone know of a way to block Saxon from outputting xsl:message stuff to system.err in Cocoon 2.1.4? We only use xsl:message for debugging...but it would be nice to leave it in place rather than commenting it out. Xalan doesn't seem to write

Re: Cocoon efficiency and .jar files

2004-03-25 Thread Joerg Heinicke
On 27.02.2004 13:34, Geoff Howard wrote: However, if you are using a kitchen sink build of cocoon with lots of blocks that you don't use and lots of poolable sitemap components (generators, transformers, serializers) that you don't use but have pool-min above 0 you are going to have lots of

Re: Mount and session propagation problem.

2004-03-25 Thread Joerg Heinicke
On 27.02.2004 20:46, Oscar Picasso wrote: Problem solved The problem described previously only happens when the client browser has its cookies diabled and when consequently the urls are encoded. Here is my understanding: - when using mount B/**, cocoon treats B like a pseudo directory B/ that

real newbie question -- sitemap cascading?

2004-03-25 Thread Terence Kearns
What's the deal with sitemap inheritance? What are the rules? Just exactly how much to I *need* to declare if I am not mounting my new cocoon app in the root sitemap? -- Terence Kearns ph: +61 2 6201 5516 Enterprise Applications Developer Enterprise Systems Support and Development

Cocoon flow and portal

2004-03-25 Thread Bart Molenkamp
Hi, I found out that is was possible to use Cocoon flow inside a coplet, see this: http://www.osoco.net/weblogs/rael/archives/000227.html But the sample is not available yet. Does anyone have a sample? Bart. - To unsubscribe,

Re: [CForms][Woody] Transformer eats elements

2004-03-25 Thread Jan Hoskens
I got it working:-) FYI, when replacing the lines, the line that contained Constants.TEMPLATE_NS had to be changed by replacing it by Constants.WT_NS. Thanx, Jan - Original Message - From: Tim Larson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:37 PM Subject:

sitemap: error handling -- can't select on 'not-found'

2004-03-25 Thread Terence Kearns
I can't seem to get my error handling to work. I tried handling not-found error, but it's not matching my not-found selector. Here is the sitemap snippet: map:handle-errors map:select type=exception map:when test=not-found map:generate type=notifying/ map:transform