Transform XML to pdf/excel from my own servlet.

2003-10-08 Thread Marius Oancea
Hi, I have a regular web application made using struts and jsps. I want to add a button to see a object as pdf or excel document. I tried to use cocoon as a separate aplication and worked nu i don't want to have yet another context. My understanding is : I know how to

XSP schema for Sunbow Eclipse plug-in editor

2003-10-08 Thread Sylvain.Thevoz
Hello, I'm trying to use the Eclipse Sunbow plug-in to edit my XSP files. I need to have a XSP schema. Where could I find this? Regards Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: ANN: Vortrag: Erich Gamma: Eclipse - mehr als nur eine Java IDE

2003-10-08 Thread Bertrand Delacretaz
Le Mardi, 7 oct 2003, à 21:30 Europe/Zurich, Alexander Schatten a écrit : ein wenig off-topic---dennoch, da viele cocoon entwickler ja auch an Eclipse interessiert sind, und Erich Gamma ja nicht gar so oft zu sehen ist, dachte ich mir, daß diese ankündigung den einen oder anderen

RE: French characters within xsp:logic

2003-10-08 Thread Yves Vindevogel
ISO-8859-1 map:serializer logger=sitemap.serializer.html mime-type=text/html name=html pool-grow=4 pool-max=32 pool-min=4 src=org.apache.cocoon.serialization.HTMLSerializer buffer-size1024/buffer-size

svg2png dynamic static generation

2003-10-08 Thread Joose Vettenranta
Hey, because serializing svg to png is very slow, is it possible to do somehow next: - if picture-{id} exists - map:read src=picture-{id} - if not - generate png file from svg and then save it to filesystem and then show it. It would make things much faster. - Joose -- Joose Vettenranta

RE: French characters within xsp:logic

2003-10-08 Thread Yves Vindevogel
An easy sample page to show the error ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xsp-request=http://apache.org/xsp/request/2.0;

Re: svg2png dynamic static generation

2003-10-08 Thread Jorg Heymans
are you describing a caching mechanism here? That's built-in already. What is picture-{id} ? rgds Jorg Joose Vettenranta wrote: Hey, because serializing svg to png is very slow, is it possible to do somehow next: - if picture-{id} exists - map:read src=picture-{id} - if not - generate png file

Re: svg2png dynamic static generation

2003-10-08 Thread Joose Vettenranta
On ke, 2003-10-08 at 12:48, Jorg Heymans wrote: are you describing a caching mechanism here? That's built-in already. What is picture-{id} ? I have data in SQL-database. I create svg according to that data. That data won't change. picutre-{id} is where id == databases ID. So if that file would

Re: svg2png dynamic static generation

2003-10-08 Thread Jorg Heymans
so how did you expect us to know all this ;-) ? Could you please post the pipeline you want to optimize ? That way we can get a better understanding of what components you are using. Joose Vettenranta wrote: On ke, 2003-10-08 at 12:48, Jorg Heymans wrote: are you describing a caching

RE: svg2png dynamic static generation

2003-10-08 Thread Conal Tuohy
Joose, if you were thinking of writing a cache for your SVG images, probably a better idea would to modify the SQLTransformer to make it implement the Cacheable interface. Then your SVG will be cached by the existing cache. Maybe you could extend the SQLTransformer so it would execute a

Re: svg2png dynamic static generation

2003-10-08 Thread Joose Vettenranta
On ke, 2003-10-08 at 13:07, Jorg Heymans wrote: so how did you expect us to know all this ;-) ? Could you please post the pipeline you want to optimize ? That way we can get a better understanding of what components you are using. map:match pattern=framet/nelio-*.png map:aggregate

Re: woody block: Failed to execute pipeline.: java.util.EmptyStackException

2003-10-08 Thread Bruno Dumon
On Tue, 2003-10-07 at 18:20, Carlos Chávez wrote: Hi to all, i'm working with woody, i'm using WoodyTemplateTransformer, when the first time i execute one form this work fine, validation is ok etc, but the second time i execute other diferent form and i try to submit this form this

Re: svg2png dynamic static generation

2003-10-08 Thread Joose Vettenranta
On ke, 2003-10-08 at 13:19, Joose Vettenranta wrote: On ke, 2003-10-08 at 13:07, Jorg Heymans wrote: so how did you expect us to know all this ;-) ? Could you please post the pipeline you want to optimize ? That way we Also problem is that SVG-template can be very BIG. I'm receiving

[HELP] Failed to transcode SVG after XSL transformation

2003-10-08 Thread BORGES Charles
Hi, I'm using cocoon 2.1.2 to serialize svg after transforming it with a XSL. I'm using a pipeline configured as follows, in a sitemap.xm file: map:pipeline type=caching map:match pattern=*.gif map:generate src={1}.svg/ map:transform src=stylesheets/{1}.xsl type=xslt

Re: svg2png dynamic static generation

2003-10-08 Thread Jorg Heymans
I haven't used XSP yet so I don't know exactly where cocoon is failing to cache this pipeline. It caches xsl executions automatically and that's all your pipeline is doing except for that one xsp. Looking at the wiki http://wiki.cocoondev.org/Wiki.jsp?page=XSPFundamentals , it seems that XSP

Re: ANN: Vortrag: Erich Gamma: Eclipse - mehr als nur eine Java IDE

2003-10-08 Thread Alexander Schatten
Bertrand Delacretaz wrote: Le Mardi, 7 oct 2003, à 21:30 Europe/Zurich, Alexander Schatten a écrit : ein wenig off-topic---dennoch, da viele cocoon entwickler ja auch an Eclipse interessiert sind, und Erich Gamma ja nicht gar so oft zu sehen ist, dachte ich mir, daß diese ankündigung den einen

gnumeric-formats in HSSFSerializer

2003-10-08 Thread Achim Reiners
Hi all, I am using HSSFSerializer to create a native Excel file from Cocoon. Works great ! But some of the elements in my gnumeric-xml-format that I pass to the serializer seem not to be recognized. E.g. Attributes SheetLayout Summary ( The original gnumeric spreadsheet program does recognize

.NET port

2003-10-08 Thread Marchiori Carlo
Hi, is there any effort to port Cocoon to .NET. I work for a company which develops Java and .NET versions of the same applications to suit customers needs. I need an xml pipelining engine which works both in java and .NET. Thank you for any help, Carlo.

GT2003: a few pictures

2003-10-08 Thread Steven Noels
http://outerthought.net/~stevenn/GT2003Impressions.html enjoy, /Steven -- Steven Noelshttp://outerthought.org/ Outerthought - Open Source Java XMLAn Orixo Member Read my weblog athttp://blogs.cocoondev.org/stevenn/ stevenn at outerthought.org

Re: Sendmail attachment

2003-10-08 Thread Josep Riudavets
I'm using Cocoon 2.1. In Cocoon documentatio, there is an example of sending mail with attachment: sendmail:send-mail sendmail:fromfrom address/sendmail:from sendmail:tosome maillinglist address/sendmail:to sendmail:subjectxsp-request:get-parameter name="subject"//sendmail:subject !--

RE: Use of a connection in an avalon component

2003-10-08 Thread Unico Hommes
If you would hold on to a connection for the lifetime of the ThreadSafe component (and in the case of ECM that means from startup to shutdown of the container itself) it means that that particular connection will not be available to other components to reuse (DataSourceComponent pools its

Re: Sendmail attachment

2003-10-08 Thread Christian Haul
Josep Riudavets wrote: I'm using Cocoon 2.1. In Cocoon documentatio, there is an example of sending mail with attachment: sendmail:send-mail sendmail:fromfrom address/sendmail:from sendmail:tosome maillinglist address/sendmail:to sendmail:subjectxsp-request:get-parameter

RE: How to add cocoon in my web application?

2003-10-08 Thread Ralph Goers
Unfortunately, the current philosophy of cocoon seems to be to force you to add your webapp into cocoon's. The approach I use is to build cocoon using only the blocks I want and to not generate samples or documentation in the webapp. We do our builds with maven so we take all the jars that are

Re: Sendmail attachment

2003-10-08 Thread Josep Riudavets
Thanks a lot ... now, it works perfectly ... I did not undersand cocoon protocol, but now I have learned some things about it ... thanks again Another question ... I'm generating pdf files in order to be attached. These files are named depending on a certain random number. For example, there

RE: Sendmail attachment

2003-10-08 Thread Horsfield, Peter A.
Hi Josep, The cocoon:/// indicates an internal pipeline request - meaning it refers to a pipeline, and not directly to a file. The documentation shows an email with three attachments just to show you the various possibilities. For your need (reading a simple file), just use the example for

Re: GT2003: a few pictures

2003-10-08 Thread Dirk-Willem van Gulik
On Wed, 8 Oct 2003, Steven Noels wrote: http://outerthought.net/~stevenn/GT2003Impressions.html I would not know a racoon from a cocoon or a tomcat - but you guys rock ! Thanks for organizing this ! Dw. PS: Are the presentations anywhere ?!

Re: .NET port

2003-10-08 Thread Alexander Schatten
Marchiori Carlo wrote: Hi, is there any effort to port Cocoon to .NET. I work for a company which develops Java and .NET versions of the same applications to suit customers needs. I need an xml pipelining engine which works both in java and .NET. I would say, that this would be a real waste

Re: ANN: Vortrag: Erich Gamma: Eclipse - mehr als nur eine Java IDE

2003-10-08 Thread Bertrand Delacretaz
Le Mercredi, 8 oct 2003, à 13:35 Europe/Zurich, Alexander Schatten a écrit : ...It was, as I guess, a little unpolite from me to just put it in german, but the intention was, that the speach is in german AFAIK, hence most probably only austrian or german audience might be interested... No big

Woody and textareas

2003-10-08 Thread jcplerm
Is there a way of using textareasin Woody forms? Thanks, jlerm

RE: svg2png dynamic static generation

2003-10-08 Thread Lars Huttar
I'm pretty much a cocoon newbie, but here's what I know: In your sitemap you can use the resource-exists action to take different routes through the pipeline depending on the existence of a file. E.g.: map:match pattern=picture-*.png map:act type=resource-exists

Pass sitemap params to xslt transformer?

2003-10-08 Thread Sonny Sukumar
Is there any way to pass *sitemap* parameters to the xslt transformer (TraxTransformer)? I know there's a use-request-parameters option to use request parameters, but that's not what I want to do. I want to at least be able to pass in the request URI (e.g. requestUri in

RE: Pass sitemap params to xslt transformer?

2003-10-08 Thread Sonny Sukumar
From: Horsfield, Peter A. [EMAIL PROTECTED] Absolutely: map:transform type=xslt map:parameter name=paramName value={1} / /map:transform Then, in your XSLT file at the top level (under stylesheet) xsl:param name=paramName value=defaultvalue / I've had problems

Re: Pass sitemap params to xslt transformer?

2003-10-08 Thread Sonny Sukumar
From: Tony Collen [EMAIL PROTECTED] Sonny Sukumar wrote: Is there any way to pass *sitemap* parameters to the xslt transformer (TraxTransformer)? I know there's a use-request-parameters option to use request parameters, but that's not what I want to do. I want to at least be able to pass in

Re: Pass sitemap params to xslt transformer?

2003-10-08 Thread Tony Collen
Sonny Sukumar wrote: snip; Hmm, did you mean {request:requestURI} ? I did a quick Google search and that's all I found. I know some of these input modules were renamed within the past few months. Well, I was specifically looking at this:

Re: Woody and textareas

2003-10-08 Thread Carlos Chávez
i will try help you. i'm using WoodyTemplateTransformer in the woody template file you have to write: wi:styling type=textarea/ this have to be nested in the wt:widget tag, for example: wt:widget id=Name of field wi:styling type=textarea/ /wt:widget you have to include the

Re: GT2003: a few pictures

2003-10-08 Thread Steven Noels
Dirk-Willem van Gulik wrote: PS: Are the presentations anywhere ?! http://www.apache.org/dist/cocoon/events/gt2003/, in the process of hitting the mirrors in the next few days. /Steven -- Steven Noelshttp://outerthought.org/ Outerthought - Open Source Java XML

Re: Pass sitemap params to xslt transformer?

2003-10-08 Thread Sonny Sukumar
From: Tony Collen [EMAIL PROTECTED] Sonny Sukumar wrote: Interestingit's not defined in my cocoon.xconf file, and I just upgraded to Cocoon 2.1.2 a couple of days ago when it came out. I know I excluded unstable blocks, etcis it considered unstable? Nope, I don't think so, you'll

Re: Woody and textareas

2003-10-08 Thread Carlos Chávez
i will try help you. i'm using WoodyTemplateTransformer in the woody template file you have to write: wi:styling type=textarea/ this have to be nested in the wt:widget tag, for example: wt:widget id=Name of field wi:styling type=textarea/ /wt:widget you have to include the

RE: Pass sitemap params to xslt transformer?

2003-10-08 Thread Horsfield, Peter A.
The general technique with Cocoon is to use a matcher to pick up on the URI, and to use wildcards in the matcher to pick up on a range of URIs. You can use the {0} sitemap parameter to access the entire URI, and use {1} {2} etc to access the wildcard portions. Are you sure you need/want to

Re: Woody and textareas

2003-10-08 Thread jcplerm
- Original Message - From: Carlos Chávez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 2:58 PM Subject: Re: Woody and textareas ... you must use the stylesheet: woody-field-styling.xsl woody-page-styling.xsl. Do you mean woody-field-styling.xsl is a

RE: svg2png dynamic static generation

2003-10-08 Thread jim basilakis
Hi, I am a cocoon newbie and I am using cocoon 2.0.4. I came across the same problem of trying to save a jpeg/png file to the filesystem as part of the course of a pipeline. Any hints as to how to save a generated file (eg. png) to the filesystem? Thanks, Jim -Original Message-

Re: Woody and textareas

2003-10-08 Thread Carlos Chávez
jcplerm Escribio :-) - Original Message - From: Carlos Chávez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 2:58 PM Subject: Re: Woody and textareas ... you must use the stylesheet: woody-field-styling.xsl woody-page-styling.xsl. Do you mean

Re: svg2png dynamic static generation

2003-10-08 Thread Upayavira
Check out the SourceWritingTransformer. Regards, Upayavira jim basilakis wrote: Hi, I am a cocoon newbie and I am using cocoon 2.0.4. I came across the same problem of trying to save a jpeg/png file to the filesystem as part of the course of a pipeline. Any hints as to how to save a generated

Re: Pass sitemap params to xslt transformer?

2003-10-08 Thread Tony Collen
Sonny Sukumar wrote: From: Horsfield, Peter A. [EMAIL PROTECTED] Ok you're right; and Tony picked up on the right solution as far as I can see, because you need to target the URI as a whole and embed it inside a document. Thats just the way cinclude works. Yeah, so maybe the requestURI input

RE: Pass sitemap params to xslt transformer?

2003-10-08 Thread Horsfield, Peter A.
Ok you're right; and Tony picked up on the right solution as far as I can see, because you need to target the URI as a whole and embed it inside a document. Thats just the way cinclude works. However... If you can get away with combining XML at the sitemap level you would be able to use the

Re: svg2png dynamic static generation

2003-10-08 Thread jim basilakis
Thanks for that!! SourceWritingTransformer certainly seems to be what I am looking for. So if I wanted to save for example a png file to the filesystem in the pipeline I would state: map:transform type=write-source map:parameter name=serializer value=svg2png/ /map:transform Has anyone

the session tracking in cocooon

2003-10-08 Thread jitong wang
Hi, you all, I am using cocoon for my project. However, I got a problem seems to be imposible to solve. It was originally an issure on session tracking. After cocoon received an request, it will assign the request to a suitable pipeline, then it will be sent to a certain servlet outside the