xsp-session:get-parameter-names and xsp-session:get-parameter-values

2003-06-23 Thread Maxime.Gheysen
Hello, I created a session with some parameters. But if I write xsp-session:get-parameter-names I get nothing, same if I write xsp-session:get-parameter-values as=xml/ Is there anything wrong? Is there any other way to get the session parameters

web services with cocoon

2003-06-23 Thread shankar
Hi, I need to call web services using cocoon? how to do this? Any links/examples, pls mail me. Shankar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ThreadLocal with cocoon?

2003-06-23 Thread Alexandre Victoor
Hello I would like to know if it is safe to use threadlocal variables in actions and xsps. I don't know if the components called by the sitemap are always supposed to be executed inside the same thread. I have looked at the logs and the actions and the xsps seems to use the same thread for a

Re: woody date extension

2003-06-23 Thread Bruno Dumon
On Fri, 2003-06-20 at 14:46, Frank Taffelt wrote: Hi, i have a form which contains 2 fields with date entries (ex.:'17.06.2003 13:55'). What are the steps to get woody to: * validate the values against a given dateformat ex. dd.MM. HH:mm * to say in a assertion rule that date2 must be

Re: multiple cocoons in tomcat

2003-06-23 Thread Boris Althaus
but with mod_proxy you can avoid ports (:8080) in the url? Or do you use mod_rewrite too. Boris - Original Message - From: Stavros Kounis To: [EMAIL PROTECTED] Sent: Sunday, June 22, 2003 1:50 PM Subject: Re: multiple cocoons in tomcat On Tue, 17 Jun 2003,

split in sitemap

2003-06-23 Thread Maxime.Gheysen
Is there a way to make a split for a parameter like: input value=abc\def name=test I want something a {request-param} with a split the \ and get the first part (only abc ) Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] Sent: Wednesday, June 18, 2003

RE: split in sitemap

2003-06-23 Thread Reinhard Pötz
I see two ways: - write an action - write an input module Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 11:47 AM To: [EMAIL PROTECTED] Subject: split in sitemap Is there a way to make a split for a parameter

RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))

2003-06-23 Thread a000
I've chosen copy-of in analogy to the example. But I assume that's not the matter. Actually mixing any tag with java code causes error. Harald do you really want copy-of for $href, or value-of? Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: split in sitemap

2003-06-23 Thread Maxime.Gheysen
But is there no function to do that? Because I saw on a sample (sampes/modules) that a concat function is used: map:parameter name=session [truncated] value={request:concat('org. ... .', substring(session, 36))} / So maybe there is a split function also? -Original Message- From:

Failed to compile sitemap when using map:call in error handlers ?

2003-06-23 Thread GUILLAUME Gabriel FTRD/DIH/HDM REN
Hi folks, I tried to compile the following (dummy) pipeline with Cocoon 2.0.4 : ... map:resources map:resource name=test map:serialize/ /map:resource /map:resources ... map:pipeline map:match pattern=dummy map:generate src=dummy.html/

Re: split in sitemap

2003-06-23 Thread Luca Morandini
[EMAIL PROTECTED] wrote: But is there no function to do that? Because I saw on a sample (sampes/modules) that a concat function is used: map:parameter name=session [truncated] value={request:concat('org. ... .', substring(session, 36))} / So maybe there is a split function also? not all input

RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))

2003-06-23 Thread Geoff Howard
Can you post the Table_htm_xsp_xsl.java Line 804, column 73? It's in your servlet container's work directory under cocoon-files Geoff At 06:59 AM 6/23/2003, you wrote: I've chosen copy-of in analogy to the example. But I assume that's not the matter. Actually mixing any tag with java code

Re: File Uploads

2003-06-23 Thread juliane ndje
hello alexander, does your offer still exist? seems this is exactly what i have to do next and you could save me some time ;-) thanx a lot! juliane Alexander Schatten wrote: well, I changed the parameter in the WEB-INF/web.xml: init-param param-nameupload-directory/param-name

Re: File Uploads

2003-06-23 Thread Geoff Howard
There is good information about this at the wiki. Go to wiki.cocoondev.org and search for upload. Geoff upload-directory does not have to be under WEB-INF - it can be relative or absolute anywhere on your system. relative paths are resolved from the servlet context - which is the main

Cocoon Build : deprecated block necessary ?

2003-06-23 Thread Olivier Billard
Hi all, I'm trying to build a mini-clean webapp, but the compile-tests target seems to depend on deprecated stuffs, as said in the comment of the build file. What is the cleanest solution ? Is this target necessary to build the webapp, or not ? Can I squeeze the depends clause of compile

[Stammtisch-Vienna] Reminder!

2003-06-23 Thread Reinhard Pötz
I want you to remind that the first Austrian Cocoon Stammtisch will take place on June, 25th, 8pm at Centimeter I (8th district behind the city hall). (http://www.tourist-net.co.at/lokale/centimeter/centimeter1.htm) The table is reserved for Pötz. I'm looking forward to meeting you

Re: File Uploads

2003-06-23 Thread juliane ndje
hi geoff, i've seen the wiki pages and also the FileUploadAction in the Developer's Handbook (Moczar/Aston). my problem is that i don't want to put all the files into one directory but put them into the directory named after a project that is to be choosen in a select field (is that

Woody

2003-06-23 Thread Scherler, Thorsten
Title: Woody Hello group, I am looking for some information of and experience with woody. I had a look @ the wikki and I find it very usefull but I would like some use-cases. I am planning to the following with it: In my thesis a friend and I develop a web based consulting system. We use

Re: Cocoon Build : deprecated block necessary ?

2003-06-23 Thread Geoff Howard
Not sure what you mean by squeeze the depends clause, but the root problem needs to get fixed. It either means removing the tests for deprecated items, or modifying the build to exclude deprecated tests when deprecated is excluded (which means creating a deprecated test directory somewhere and

Perplexing PDF SVG question

2003-06-23 Thread Irving Salisbury III
I have embedded an SVG image into my xsl:fo document. It renders fine when using command line fop. However, when I put it in a cocoon pipeline, I am getting the following error: ERROR (2003-06-23) 08:02.42:903 [sitemap.serializer.fo2pdf.fop] (/medicaid/sequence/first/pdf)

Pass parameter to a transformer

2003-06-23 Thread Anna Afonchenko
Hi all. I have written my own transformer, thatgets in an XML file as a parameter. If I declare the parameter in the transformers bit: map:transformer name="xsl5complete"src="" parameter name="xsl5" value="xsl5new.xml"/ /map:transformer and then call it in the pipeline: map:transform

Re: Cocoon Build : deprecated block necessary ?

2003-06-23 Thread Olivier Billard
Thanks for your answer Geoff ! By squeeze, I thought brutaly delete the compile-tests depends clause in the compile targer, to avoid the problem. As I didn't get deep into this tests, I don't know what could depend on this. But why is compile-tests not optional, as compile-deprecated ? No need

RE: Perplexing PDF SVG question

2003-06-23 Thread Schaper, Christoph
Just guessing: You are on Unix and you don't have the display variable set when you run cocoon? If this is the case, either point the display variable to your X environment or, if you don't have one search in the cocoon docu for headless. Christoph -Original Message- From: Irving

Re: Perplexing PDF SVG question

2003-06-23 Thread Irving Salisbury III
I am on windows XP using cocoon-2.0.4. I understand the headless issue and that is not my problem. On the same box, I use the same version of fop (0.20.4), and the command line fop.bat file renders it perfectly. Running inisde cocoon gives me the error that I outlined below. Irv Schaper,

Re: Perplexing PDF SVG question

2003-06-23 Thread Torsten Spindler
On Mon, 2003-06-23 at 15:27, Irving Salisbury III wrote: ERROR (2003-06-23) 08:02.42:903 [sitemap.serializer.fo2pdf.fop] (/medicaid/sequence/first/pdf) Thread-10/PDFRenderer: svg graphic could not be built: null If you use batik for rendering SVGs you need an X-Server running or Java

Re: Cocoon Build : deprecated block necessary ?

2003-06-23 Thread Geoff Howard
Well, I think that compiling and running the tests is not optional because if something is failing a unit test, you'd want to know. However, the present problem is not a real problem but a fake one! My understanding is that it's just a problem of the real package having moved without its tests.

Re: Perplexing PDF SVG question

2003-06-23 Thread Irving Salisbury III
I am running this on windows XP. Do I still need to do this? Irv Torsten Spindler wrote: On Mon, 2003-06-23 at 15:27, Irving Salisbury III wrote: ERROR (2003-06-23) 08:02.42:903 [sitemap.serializer.fo2pdf.fop] (/medicaid/sequence/first/pdf) Thread-10/PDFRenderer: svg

Re: Cocoon Build : deprecated block necessary ?

2003-06-23 Thread Olivier Billard
Ok thanks Geoff I'll let you know if I get into a clean patch. Thanks again ! Geoff Howard wrote: Well, I think that compiling and running the tests is not optional because if something is failing a unit test, you'd want to know. However, the present problem is not a real problem but a fake

Re: File Uploads

2003-06-23 Thread Alexander Schatten
juliane ndje wrote: hi geoff, i've seen the wiki pages and also the FileUploadAction in the Developer's Handbook (Moczar/Aston). my problem is that i don't want to put all the files into one directory but put them into the directory named after a project that is to be choosen in a select

Batik 1.5b4

2003-06-23 Thread Irving Salisbury III
The problem I sent out earlier seems to be a problem with the url( # ) functionality of batik. Supposedly this is fixed in batik 1.5b4. Has anyone built a batik1.5b4 jar file? It looks like the cocoon distribution bundles all the batik files together. Or, can someone tell me how to build

Re: Perplexing PDF SVG question

2003-06-23 Thread J.Pietschmann
Irving Salisbury III wrote: I have embedded an SVG image into my xsl:fo document. It renders fine when using command line fop. However, when I put it in a cocoon pipeline, I am getting the following error: ERROR (2003-06-23) 08:02.42:903 [sitemap.serializer.fo2pdf.fop] ...

Re: Perplexing PDF SVG question

2003-06-23 Thread Irving Salisbury III
I am using a third partly library that does things like url( #someReference), so I can't get around it. Why is this not a bug, it seems like something that should be supported, and batik even has a bug fix in 1.5b4 (that happens to break the library code for me) Irv J.Pietschmann wrote:

Re: Pass parameter to a transformer

2003-06-23 Thread Upayavira
Why don't you use the src attribute to pass in the XML file, much as any other transformer? Then you'd have a lot of transformers available to look at for code samples. Regards, Upayavira On 23 Jun 2003 at 16:25, Anna Afonchenko wrote: Hi all. I have written my own transformer, that gets in

Re: Perplexing PDF SVG question

2003-06-23 Thread J.Pietschmann
Irving Salisbury III wrote: I am using a third partly library that does things like url( #someReference), so I can't get around it. Why is this not a bug, it seems like something that should be supported, and batik even has a bug fix in 1.5b4 (that happens to break the library code for me)

Re: Perplexing PDF SVG question

2003-06-23 Thread Irving Salisbury III
Thanks for the info. I will go down another path with this. Irv J.Pietschmann wrote: Irving Salisbury III wrote: I am using a third partly library that does things like url( #someReference), so I can't get around it. Why is this not a bug, it seems like something that should be supported,

RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))

2003-06-23 Thread a000
I have extracted the relevant information into a small-scale example. As follows I include the logicsheet, the stacktrace and the generated Java file. I'd hope that somebody can give me a hint. Regards, Harry Logicsheet: Test.htm.xsp.xsl ?xml version=1.0 encoding=ISO-8859-1? xsp:page

Problem integrating NT Tomcat 4.1.24 2.1.m2 (xerces?, forrest)

2003-06-23 Thread Arthur Allen
I have been using Forrest of late, which succesfully integrated with 2.1m2. I was able to bring it up on tomcat 4.1.24 on NT. As I try to use more and more of cocoon I thought it might be best for me to integrate with the base 2.1m2 in lieu of the minimal version used by forrest. I have had

sendMail sample not working for Cocoon2.1M2...

2003-06-23 Thread Yan, Charlene
I'm using Cocoon2.1M2. I tried to run sample at http://localhost:8080/cocoon/samples/mail/sendmail/new.html. It failed. I didn't get any emails sent. The mailing archive indicated to me that mail.jar and activation.jar should be in $tomcat/Webapps/WEB-INF/lib. So I copied those two jars to

esql:query problem

2003-06-23 Thread Tim Bachta
I am attempting to call a stored procedure using esql:query. Other stored procedures work using this so it is not a connection issue. I have narrowed down the issue to being the procedure itself. I am selecting data and inserting it into a temp table then selecting more data and joining the two

SQL Transformer/Resin broken?

2003-06-23 Thread Ed Yavno
Hi All, I'm having problems trying to use something under Caucho Resin that works perfectly fine under Tomcat: SQL Transformer in Cocoon 2.0.4 deployed under Resin 2.1.8/10(same result) trying to query Oracle 8i. Both Tomcat 4.0.6 and Resin 2.1.8 use the exact same settings (see below:

AW: esql:query problem

2003-06-23 Thread Michael Raffenberg
Hi Tim, did you try the esql:call Tag? Here you find a introduction: http://cocoon.apache.org/2.1/userdocs/xsp/esql.html#Stored+Procedure+Support --Raffy -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Juni 2003 22:55 An: [EMAIL

clob import: best practice?

2003-06-23 Thread Arthur Allen
With some help from my friends I've been able to read largish XML clobs into a session attributes using modular data base actions. Unfortunately my hope of doing any actual xml processing on these suckers using the session attribute generator (very cool) have failed miserably, as SAX xsl

Re: AW: esql:query problem

2003-06-23 Thread Chris
look at: esql:get-xml --- Michael Raffenberg [EMAIL PROTECTED] wrote: Hi Tim, did you try the esql:call Tag? Here you find a introduction: http://cocoon.apache.org/2.1/userdocs/xsp/esql.html#Stored+Procedure+Support --Raffy -Ursprüngliche Nachricht- Von: [EMAIL

Problem installing cocoon 2.0.4 on Tomcat 4.1.18

2003-06-23 Thread Gururaja H
Hi, I am having problem installing cocoon 2.0.4 on Tomcat 4.1.18 on Windows 2000(on Sun J2SDK 1.3.1_08. I have down loaded the prebuiltbinaries and copied the cocoon.war to %CATALINA%\webapps directory. When I start the Tomcat I get the following message: C:\Program Files\Apache Group\Tomcat