R: .NET port

2003-10-08 Thread Marchiori Carlo
Thanks Alex, the fact the I must develop to both platform is my company need, not a free choice. I think I will implement in .net a small subset of cocoon functionality, I mean, I will use the same configuration files. So in java I will be able to use cocoon. Thank you again, Carlo. >>>-M

RE: portal engine question

2003-10-08 Thread Carsten Ziegeler
Hi, Joakim Verona wrote: > > Hello list, > > I have a question about the portal(I have made a live site using cocoon, > www.dpart.com, so am not a total newbie, but almost...) > > Im trying to make a "family media portal" using cocoon. > > It should let my family and frineds browse our online

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: Has anyone tested this, because I noticed in some comments about the SourceWritingTransformer on the

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: Pass sitemap params to "xslt" transformer?

2003-10-08 Thread Sonny Sukumar
From: Tony Collen <[EMAIL PROTECTED]> 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 wo

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 inp

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 f

RE: Pass sitemap params to "xslt" transformer?

2003-10-08 Thread Sonny Sukumar
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 module is the way to

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.

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- From:

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.xs

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 cocoo

RE: Pass sitemap params to "xslt" transformer?

2003-10-08 Thread Sonny Sukumar
From: "Horsfield, Peter A." <[EMAIL PROTECTED]> 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 wildc

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 hand

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: this have to be nested in the wt:widget tag, for example: you have to include the namespace: xmlns:wi="http://apache.org/cocoon/woody/instance/1.0"; you must use the sty

Re: Woody and textareas

2003-10-08 Thread Timothy Larson
--- jcplerm <[EMAIL PROTECTED]> wrote: > Is there a way of using textareas in Woody forms? See this message for what used to work: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106192581701530&w=2 I have not check on this recently, so YMMV. --Tim Larson __ D

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 ha

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 Noelshttp://outerthought.org/ Outerthought - Open Source Java & XMLA

Re: Pass sitemap params to "xslt" transformer?

2003-10-08 Thread Tony Collen
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 have to manually add it, it seems. Tony

Re: Pass sitemap params to "xslt" transformer?

2003-10-08 Thread Sonny Sukumar
From: Tony Collen <[EMAIL PROTECTED]> 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: http://cocoon

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: this have to be nested in the wt:widget tag, for example: you have to include the namespace: xmlns:wi="http://apache.org/cocoon/woody/instance/1.0"; you must use the sty

RE: Pass sitemap params to "xslt" transformer?

2003-10-08 Thread Horsfield, Peter A.
Absolutely: Then, in your XSLT file at the top level (under stylesheet) I've had problems using hyphens in parameter names, however. Peter -Original Message- From: Sonny Sukumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 3:0

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: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoo

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 pas

RE: Pass sitemap params to "xslt" transformer?

2003-10-08 Thread Sonny Sukumar
From: "Horsfield, Peter A." <[EMAIL PROTECTED]> Absolutely: Then, in your XSLT file at the top level (under stylesheet) I've had problems using hyphens in parameter names, however. Is this a known bug in Cocoon? Peter -Original Message- From: Sonn

Re: Pass sitemap params to "xslt" transformer?

2003-10-08 Thread Tony Collen
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 the request URI (e.g. "requestUri"

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 "http://www.mysit

Re: svg2png dynamic static generation

2003-10-08 Thread Geoff Howard
Lars Huttar wrote: 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.:

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.:

Woody and textareas

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

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 d

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 o

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: 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 co

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 could

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 in

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: from address some maillinglist address localhost body.toString() attach an uploaded file: * request.get("attachment")

JAAS

2003-10-08 Thread Ralph Goers
Has anyone integrated Cocoon with JAAS? I have looked at the Authentication framework and am wondering if it can be leveraged at all. It looks like AuthAction only authenticates but doesn't check authorization at all. Ralph Goers Sr. Software Engineer, Software Architecture Digital Insight Corpor

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 conne

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:     from address  some maillinglist address      localhost  body.toString()      request.get("attachment")          

GT2003: a few pictures

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

.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. ---

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 recogniz

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

Re: svg2png dynamic static generation

2003-10-08 Thread Joose Vettenranta
On ke, 2003-10-08 at 14:05, Jorg Heymans wrote: Hey, > 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. That on XSP is very simple and is def

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 i

[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: The problem occurs when the resulting svg from the XSL transformation is serialized

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 svg

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 fo

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.

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 "cache-vali

Re: woody block: assert validation not work

2003-10-08 Thread Bruno Dumon
Carlos & Antonio, the problem with the endless loop in the validation is now fixed. The solution was very simple, Sylvain pointed it out to me. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED]

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 mechanis

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

Use of a connection in an avalon component

2003-10-08 Thread Olivier Billard
Hi all ! I wonder how to use a DataSourceComponent and its connection in a custom avalon component, that is ThreadSafe, to use all performance and connection pool used in Cocoon. Should I : - get and close() a connection via datasource.getConnection() for each public method call, - get a conne

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 f

Re: French characters within xsp:logic

2003-10-08 Thread Simon Bretin
Hello, You might want to try the special String(byte[],String) constructor that takes an encoding as second parameter. The default java encoding might not be the one you need, thus making the toString() methods behave strangely ... Just a thought ... Simon. Yves Vindevogel wrote: An eas

RE: French characters within xsp:logic

2003-10-08 Thread Yves Vindevogel
An easy sample page to show the error http://apache.org/xsp"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true">

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: Cocoon 2.0.4 and stalling && installing for several vhosts

2003-10-08 Thread Joose Vettenranta
On la, 2003-10-04 at 14:48, [EMAIL PROTECTED] wrote: Heye, > i have add a wiki page with our cocoon/apache virtual hosting approach > > http://wiki.cocoondev.org/Wiki.jsp?page=VirtualHost Thanks. I made my tomcat&apache setup look like same, but, It still stalls from time to time. It seems to

How to add cocoon in my web application?

2003-10-08 Thread Marius Oancea
Hello, I have a web application. I want to use a part of cocoon (to create a generator, serializer ... ) and i want to know what should I tae from cocoon. I tried to add the cocoon servlet and maping in my web.xml, also i added sitemap, logkit, instrumentation.xconf but nothing work

Re: [ANN] othello project

2003-10-08 Thread Andreas Bohnert
hi stavros, after a long discussion within our project team about that template íssue, we decided to use struts for the controller, velocity for our htlm pages and cocoon just to transfrom out data into pdf, rtf, etc.. It seems to be inefficient to use cocoon and generate xml out of java beans, tr

RE: French characters within xsp:logic

2003-10-08 Thread Yves Vindevogel
ISO-8859-1 1024 ISO-8859-1 It works fine with all characters when they are not coming from an xsp:logic I think the compilation of the XSP looses the french characters. That possible

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 interessieren

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: [EMAIL

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 convert