File Uploads With Flow, per the Wiki

2004-02-11 Thread Mark Lundquist
This page: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow had an example of how to manage uploads using flow. Unfortunately, the example didn't work out of the box. To pull all the pieces together, you had to follow a link to Bugzilla and get two source file attachments

URGENT: Cocoon+FO Project needs a new owner

2004-02-11 Thread Phil Blake
Hi Everyone, I started a paid project for a friend and have been so snowed under with work that I can't complete it in a reasonable time. Anyone interested in a cocoon 2.1 FoxPro/ESQL/FO PDF publishing project, contact me asap for complete details. The project is 90% complete. It's a great

Re: aggregate files that match in a request

2004-02-11 Thread Jan Hoskens
You can get a filelist through the directory generator, then apply an xsl-stylesheet to create cinclude or xinclude tags and then apply the transformer for that include: 1) generate your filelist by directory generator 2) apply xsl that creates something like cinclude:include src=file/ or

RE: Embedded JavaScript file inside dynamic SVG isn't working

2004-02-11 Thread robby . pelssers
Hi Steve and Gautam, you can try the following to see if your code works at all I did embed the scripting and CSS in the stylesheet, because I wanted a quick solution and hadn't any knowledge of how to use the sitemap. xsl:stylesheet xmlns:xlink=http://www.w3.org/1999/xlink;

Re: Re: Ant task in Cocoon 2.1.3 xsltc

2004-02-11 Thread Martin Geissler
Hello, thanks for the hints. It works. I had to set the Environment Variable ANT_OPTS with the value. e.g. on my Windows System: SET ANT_OPTS=-Djava.endorsed.dirs=C:\cocoon-2.1.3-src\cocoon-2.1.3\lib\endorsed Per command line as you showed did not work for me. Martin [EMAIL PROTECTED]

Re: Please help! wt:form-template location attribute

2004-02-11 Thread Mark Lundquist
Another update on this problem... I built a Cocoon from the daily snapshot, and my problem doesn't occur there. So, I guess this is fixed in 2.1.4. That's good news and bad news for me... not sure what I'm going to do. I have a tiny test case for this, in case anyone is interested in

Re: Problem with date format for a woody widget in xsp

2004-02-11 Thread Bruno Dumon
On Tue, 2004-02-10 at 09:03, Alex Kovacs wrote: Hi, I am using cocoon-2.1.3 with Woody. I have a situation where I am using xsp to display some data from a Woody form. The problem is when trying to display the value of a date widget and the date format is the default one instead of the one

Re: SQL Transformer generates illegal element names

2004-02-11 Thread Jorg Heymans
recently I ran into a problem with SQL Transformer. The column names returned from the database are used for naming the children of sql:row, but those names can be something like count(distinct xxx) or 'SYS$', which violates the wellformed conditions of the return document. alias your

unescaping xml in XSP-page

2004-02-11 Thread Erik Hofstra
Hi all, I have a problem with my xml-string. From a XSP-page i call a JavaClass which makes a SOAP-call. The JavaClass returns a XML document in String type. When i place this string in my page with xsp:expr the '' and '' of the XML string are replaced with 'lt;' and 'gt;'. Because of this

Re: AW: Special chars problem

2004-02-11 Thread Bruno Dumon
On Wed, 2004-02-11 at 08:59, Jan Hoskens wrote: After searching the archives, I found some stuff about the encoding in cocoon. I tried changing the ISO-8859-1 to UTF-8 in the web.xml, but that did not change the problem. (http://marc.theaimsgroup.com/?t=106760662600010r=1w=2)When I passed the

Question: auth-fw, roles, authorisation file format

2004-02-11 Thread Andrei Lunjov
Hello, I tried to find details in docs and samples, but seems I am quite stupid :) Possibly I missed something improtant? I am currently developing kind of skeleton and guidelines for quite large application to be used for long time - so I want to make things as standard as possible.

Re: Need some help w/ Woody Template

2004-02-11 Thread Bruno Dumon
On Tue, 2004-02-10 at 11:37, Mark Lundquist wrote: Hi all, I need to put a couple of forms on a page. TheWoodyTemplateTransformer wiki page says the way to do this is to usethe special @location attribute on wt:form-template, to tell thetransformer where to pick up the form instance.

Re: aggregate files that match in a request

2004-02-11 Thread gounis
On Wed, 11 Feb 2004, Jan Hoskens wrote: You can get a filelist through the directory generator, then apply an xsl-stylesheet to create cinclude or xinclude tags and then apply the transformer for that include: 1) generate your filelist by directory generator 2) apply xsl that creates

Re: WoodyTemplateTransformer vs. WoodyGenerator

2004-02-11 Thread Bruno Dumon
On Tue, 2004-02-10 at 03:17, Mark Lundquist wrote: snip/ Then flow came along, and the WoodyTemplateTransformer was madeflow-friendly: first and foremost, it knows about the continuation ID! But the WoodyGenerator fell behind the curve, probably because it wasa second-class citizen already.

svg and cocoon in debug mode

2004-02-11 Thread Jorg Heymans
Has anyone succeeded in running cocoon in debug mode while rendering svg's? Tomcat crashes instantly without any errormessage (windows XP) on my install so i can always only use one or the other, annoying! Jorg - To

Re: URGENT: Cocoon+FO Project needs a new owner

2004-02-11 Thread Matthias Schäfer
Phil Blake wrote: Hi Everyone, I started a paid project for a friend and have been so snowed under with work that I can't complete it in a reasonable time. Anyone interested in a cocoon 2.1 FoxPro/ESQL/FO PDF publishing project, contact me asap for complete details. The project is 90%

Re: AW: Special chars problem

2004-02-11 Thread Jan Hoskens
I did change the file web.xml: -web.xml snip- init-param param-namecontainer-encoding/param-name param-valueISO-8859-1/param-value /init-param init-param param-nameform-encoding/param-name param-valueutf-8/param-value /init-param -snip- But if I look at

Re: svg and cocoon in debug mode

2004-02-11 Thread Sylvain Wallez
Jorg Heymans wrote: Has anyone succeeded in running cocoon in debug mode while rendering svg's? Tomcat crashes instantly without any errormessage (windows XP) on my install so i can always only use one or the other, annoying! ?? Not later than 2 days ago, I was in debugging the SVG

generator and request attribute

2004-02-11 Thread Roman Hrivik
Hi I have custom generator where I set to request.attribute any value via ObjectModelHelper.getRequest(objectModel).getAttribute(RESULT_KEY) next in the sitemap I want there request attribute selector to decide what transformer to use this attribute is setted before any sax events generated.

actions parameter levels

2004-02-11 Thread Jorg Heymans
Below sitemap snippet just seems so counter-intuitive that i thought i'ld share it. map:match pattern=*.* map:act type=resource-exists map:parameter name=url value=file://{1}.{2}/ map:aggregate element=aggregation label=debug1 map:part src=file://{../1}.{../2}/

Sendmail logicsheet internationalization

2004-02-11 Thread Philippe Guillard
Hi, I've got a problem to internationalize my sendmail : I use a Woody form, then XSP logicsheet as in the sendmail sample, where i get the values entered by woody and add some text that i need to be internationalized to compose the body of the mail. I can't use i18n transformer as the mail seems

Strange: BlobSource cannot access Datasource

2004-02-11 Thread [EMAIL PROTECTED]
Hello All, Please, help, because I'm really out of ideas here.. The thing is, when I try to use a blob: protocol (from the BlobSource component), I keep getting an Exception during source resolving.: org.apache.excalibur.source.SourceException: Cannot get datasource 'DBGES' At first I

Re: SQL Transformer generates illegal element names

2004-02-11 Thread Askild Aaberg Olsen
recently I ran into a problem with SQL Transformer. The column names returned from the database are used for naming the children of sql:row, but those names can be something like count(distinct xxx) or 'SYS$', which violates the wellformed conditions of the return document.

How can I make IE display html in auto encoding utf-8?

2004-02-11 Thread
Hi,all: I want to use Chinese chacter in the page and don't want it to be encoded as someting like #8983.So I change configurations in web.xml: init-param param-namecontainer-encoding/param-name param-valueutf-8/param-value /init-param init-param param-nameform-encoding/param-name

Re: SQL Transformer generates illegal element names

2004-02-11 Thread Jorg Heymans
snipped This is a standard SQL-feature, that should work in any SQL-compliant database (at least I know it works in MSSQL and DB2 also). But I guess that the problem is that Johann lets the user enter SQL directly, loosing control of whats submitted to the DB. (which seems like a huge security

[Woody] Validation with function show

2004-02-11 Thread Mike Teichman
Hi all, I'm trying to use validation with Woody. In order to do that, there is a function show([String] uri, [Function] validator) called on the Form Object. Although there is an example with this function, how can I warn the user with a message in case of violation? In which way do I have to

Re: SQL Transformer generates illegal element names

2004-02-11 Thread Askild Aaberg Olsen
This is a standard SQL-feature, that should work in any SQL-compliant database (at least I know it works in MSSQL and DB2 also). But I guess that the problem is that Johann lets the user enter SQL directly, loosing control of whats submitted to the DB. (which seems like a huge

Re: component pooling in cocoon

2004-02-11 Thread Olivier Billard
Hi Daniel, Just in case, don't forget your component must inherit the avalon Poolable interface. for your questions, see below : On 10/02/2004 07:49, Daniel von Aesch wrote: Hi, Can someone explain me how the component pooling in cocoon exactly works ? I am new to cocoon and unfortunately I

Re: JXTemplate Status

2004-02-11 Thread Alan
* Joerg Heinicke [EMAIL PROTECTED] [2004-02-11 00:06]: On 10.02.2004 20:41, Alan wrote: Actually I think Woody was not designed to be used with Flow. Joerg used the word propagated, and that seems right. When Flow was introduced, Woody was brought forward to play together with it ??well,

upload dir cleared at Cocoon startup

2004-02-11 Thread Bert Van Kets
Hi all, I have a very annoying problem regarding uploads. To be able to do multi part uploads I went to web.xml and set the enable-uploads init-param to true and the upload-directory to data (no quotes of course). As I need ony one upload directory, it looked like the obvious choice to me to have

RE: Embedded JavaScript file inside dynamic SVG isn't working

2004-02-11 Thread Gautam Ganguly
hi Robby , Thanks for that that worked.I ahd tried that logic earlier for including the script code inside the svg file itself but that didnot seem to work.Now when i looked your example here..i changed the script type from text/ecmascript to text/javascript,it started working.Thanks a lot for

Calling sendmail action from flowscript

2004-02-11 Thread Robert Clarke
Hi, I'm using cocoon 2.1.3 and would like to call sendmail from flowscript. I have a working sendmail action in my sitemap. However, when I try to use the act function in my flow I get: TypeError: act is not a function Which suggests there's a resource that I should be including. I'm going round

RE: Question: auth-fw, roles, authorisation file format

2004-02-11 Thread Ralph Goers
The authentication framework doesn't do anything with Roles. It is rather confusing that they are included in the framework documentation, but the examples come from the Cocoon Portal which does make use of the roles. However, you don't really need any other components. You can use the

Re: Calling sendmail action from flowscript

2004-02-11 Thread Jan Hoskens
What you're saying suggests that you're calling the function act() that does not exist in your flowscript. Maybe you have to call it through the cocoon object: cocoon.act(), as with the sendpage and other's(as on the wiki page: http://wiki.cocoondev.org/Wiki.jsp?page=Flow) Hope this helps,

Error Handling exception

2004-02-11 Thread Lionel Crine
I need more explanation about the exception. in this page : http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html There is this example which interested but it's not working because class=SAXException does not exists. map:selector name=exception

Re: Error Handling exception

2004-02-11 Thread Mark Lundquist
On Feb 11, 2004, at 8:04 AM, Lionel Crine wrote: I need more explanation about the exception. in this page : http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html There is this example which interested but it's not working because class=SAXException does not exists. map:selector

Re: WoodyTemplateTransformer vs. WoodyGenerator

2004-02-11 Thread Mark Lundquist
On Feb 11, 2004, at 1:13 AM, Bruno Dumon wrote: On Tue, 2004-02-10 at 03:17, Mark Lundquist wrote: This is where I got stuck I could create and display a form usingflow and display it using the generator (and my stylesheet), but thenfor flow you have to encode that continuation ID into the

Re: Need some help w/ Woody Template

2004-02-11 Thread Mark Lundquist
On Feb 11, 2004, at 12:54 AM, Bruno Dumon wrote: That's because the request is an object that lives only for the duration of one request. Thus if you put something in a request attribute, it only remains there for the current request. OK I figured that's what must be going on. I'm new to Cocoon

Excel Spreadsheet Generator|Transformer

2004-02-11 Thread Daniel McOrmond
Is there are Generator|Transformer that produces xml from an excel document? Perhaps something utilizing Jakarta POI-HSSF? -Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Excel Spreadsheet Generator|Transformer

2004-02-11 Thread Dave Kavanagh
There wasn't when I looked, so I made the HSSFTransformer (that membership uses). David Quoting Daniel McOrmond [EMAIL PROTECTED]: Is there are Generator|Transformer that produces xml from an excel document? Perhaps something utilizing Jakarta POI-HSSF? -Daniel

Access random input from an xsp

2004-02-11 Thread Lionel Crine
Hi, I try to access to the input module RandomNumberModule and it works fine. But I try to define the max and min, how can I do that ? here is my line in my xsp input:get-attribute name=random module=random/ Lionel Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne

Re: Error Handling exception

2004-02-11 Thread Lionel Crine
It's not working. At 08:18 11/02/2004 -0800, you wrote: On Feb 11, 2004, at 8:04 AM, Lionel Crine wrote: I need more explanation about the exception. in this page : http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html There is this example which interested but it's not working

Re: Excel Spreadsheet Generator|Transformer

2004-02-11 Thread Dave Kavanagh
Whoops! I meant to reply to Daniel directly. FWIW, I could supply my transformer to the list (minus a project specific block of code). Anyone else need something like this? We've found it quite usefull. It takes some config XML as input to tell it how to process the Excel file (it gets from a

Re: Excel Spreadsheet Generator|Transformer

2004-02-11 Thread Derek Hohls
I think it would be useful for many of us; maybe the comitters can add it to the scratch area of Cocoon? D Hohls Environmental Systems Developer CSIR Environmentek PO Box 17001 Kwa-Zulu Natal South Africa 4013 www.csir.co.za [EMAIL PROTECTED] 02/11/04 7:16 PM Whoops! I meant to reply to Daniel

Excel Spreadsheet Generator|Transformer

2004-02-11 Thread Daniel McOrmond
Is there are Generator|Transformer that produces xml from an excel document? Perhaps something utilizing Jakarta POI-HSSF? -Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Cocoon and soap

2004-02-11 Thread Anna Bikkina
Hi, Thanks for the reply. I have one problem using the xml file to transform. Below is my code where I call the soapserver that returns a xml file . Here soap-result should contain my xml file. When I tried to get the new xsl in the stylesheets I am getting an error The element type META must

Re: upload dir cleared at Cocoon startup

2004-02-11 Thread Bert Van Kets
Doesn't anybody have an idea on this one. This is just a bump back up the list. Bert - Original Message - From: Bert Van Kets [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 4:02 PM Subject: upload dir cleared at Cocoon startup Hi all, I have a very

Re: Excel Spreadsheet Generator|Transformer

2004-02-11 Thread JD Daniels
Yes!! I was just about to start something like it. :) JD Derek Hohls wrote: I think it would be useful for many of us; maybe the comitters can add it to the scratch area of Cocoon? D Hohls Environmental Systems Developer CSIR Environmentek PO Box 17001 Kwa-Zulu Natal South Africa 4013

Re: upload dir cleared at Cocoon startup

2004-02-11 Thread Askild Aaberg Olsen
Doesn't anybody have an idea on this one. This is just a bump back up the list. http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=107626758900778w=2 Read Geoff's second paragraph. Maybe this is the reason? Askild - To

Re: Windows/Tomcat/Cocoon Installation --htm attached.

2004-02-11 Thread Nicolas Toper
This is a great idea!!! Actually I've spent 2 days figuring out how to do it (eventually I installed Linux=) --- Jim Bloggs [EMAIL PROTECTED] a écrit : Greetings! I don't know whether this will be of any use, but I made out a how-to for installing Cocoon 2.1.3 on Tomcat 5.0.18 on Windows

Re: upload dir cleared at Cocoon startup

2004-02-11 Thread Geoff Howard
Bert Van Kets wrote: Hi all, I have a very annoying problem regarding uploads. To be able to do multi part uploads I went to web.xml and set the enable-uploads init-param to true and the upload-directory to data (no quotes of course). As I need ony one upload directory, it looked like the obvious

Re: Excel Spreadsheet Generator|Transformer

2004-02-11 Thread Geoff Howard
Sure - submit a patch to bugzilla and we'll take a look at it. Won't make it in 2.1.4 which now looks once again like it'll be this week, but it'd be considered after that. Geoff JD Daniels wrote: Yes!! I was just about to start something like it. :) JD Derek Hohls wrote: I think it

Re: Windows/Tomcat/Cocoon Installation --htm attached.

2004-02-11 Thread Michael Wolf
what about putting the info on the wiki-page? So people don't have to keep this email and people not in this list can access the information too. Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: AW: How to initialize a component coming from the pool?

2004-02-11 Thread Stephan Coboos
Olivier Billard wrote: Hi Stefan, I had the same pb, and I solved it the way Marco wrote, that is to say : private field : - private Connection connection; initialize (called once in the lifetime) : - get the datasource dispose (called once in the lifetime); - release the datasource recycle

Re: Windows/Tomcat/Cocoon Installation --htm attached.

2004-02-11 Thread Geoff Howard
Michael Wolf wrote: what about putting the info on the wiki-page? So people don't have to keep this email and people not in this list can access the information too. That'd be great, but there is very little here which is specific to your set up. These same instructions should work for: 1) any

Re: Need some help w/ Woody Template

2004-02-11 Thread Sylvain Wallez
Mark Lundquist wrote: On Feb 11, 2004, at 12:54 AM, Bruno Dumon wrote: That's because the request is an object that lives only for the duration of one request. Thus if you put something in a request attribute, it only remains there for the current request. OK I figured that's what must be

RE: Windows/Tomcat/Cocoon Installation --htm attached.

2004-02-11 Thread H . vanderLinden
Hi, This is a great idea and, like Michael suggested it would be a great contribution to the Wiki. Following Geoff's suggestions you could add some text at the top that stated that it should pretty much work with see Geoff's mail, but for clarity you describe it using your version set. If you

Re: CInclude or XInclude

2004-02-11 Thread Joerg Heinicke
On 05.02.2004 16:14, Lionel Crine wrote: Hi, I'd like to merge some part of document coming from different pattern. On cocoon.apache.org, I saw tat Cinclude and Xinclude can merge some document calling href. Also, I saw that Xinclude can use xml:base calling some cocoon uri. It's a little bit

Re: HTMLGenerator and Request Params

2004-02-11 Thread Joerg Heinicke
On 05.02.2004 21:21, Brent L Johnson wrote: Im attempting to pass some parameters through to the src of the HTML generator and I'm getting an IOException. Here is my sitemap snippet: map:match pattern=test.xml map:act type=request map:parameter name=parameters value=true/

Re: org.apache.cocoon.ProcessingException: Unable to get transformer handler for

2004-02-11 Thread Joerg Heinicke
On 06.02.2004 00:39, Dan Durkin wrote: I have an existing cocoon app running in 2.0.4 and I'm trying to get it running in cocoon-2.1.4-dev the cvs head from a day or 2 ago. Which container do you use? If you don't use the bundled, stripped-down Jetty delivered with Cocoon and if you use JDK 1.4

RE: HTMLGenerator and Request Params

2004-02-11 Thread Brent L Johnson
The raw request parameter input module does not work. So you can change the bug to confirmed :) Joakim actually patched it and it's working for me now. I think he just added a URLEncode to the parameter before its returned. - Brent -Original Message- From: Joerg Heinicke

FileUploadsWithFlow problem

2004-02-11 Thread Bert Van Kets
Hi all, I have finally gotten the FileUploadsWithFlow sample working without errors, but I still can't see anything arriving on the server. :-( I get no error anywhere. Not in the console, not in the browser, not in the logs. The Flow script throws me to the success page, which should mean the

RE: Windows/Tomcat/Cocoon Installation --htm attached again.

2004-02-11 Thread Jim Bloggs
On Wed, 11 Feb 2004 22:09:01 +0100, [EMAIL PROTECTED] said: Hi, Following Geoff's suggestions you could add some text at the top that stated that it should pretty much work with see Geoff's mail, but for clarity you describe it using your version set. If you find it difficult to add it

Fwd: Cocoon upload manager

2004-02-11 Thread Mark Lundquist
Begin forwarded message: From: Mark Lundquist [EMAIL PROTECTED]> Date: February 11, 2004 3:59:04 PM PST To: [EMAIL PROTECTED] Cc: Bert Van Kets [EMAIL PROTECTED]> Subject: Cocoon upload manager Hi Nicolas, I, along with another [EMAIL PROTECTED] list member, are trying to use the

Re: Need some help w/ Woody Template

2004-02-11 Thread Mark Lundquist
On Feb 11, 2004, at 1:03 PM, Sylvain Wallez wrote: You can make use of the upcoming bookmark continuations in the upcoming 2.1.4 release. These are continuations that are not related to a sendPage and can therefore be used to go back at any particular location in your script. This allows to

reading binary stream into xsp page

2004-02-11 Thread beyaNet Consultancy
Hi, I have the following code in my xsp page: byte[] binImg = newArt.getArtistPhoto1(); I now want to display this stream in the page like so: xsp:expr>binImg/xsp:expr> but am getting, as expected, casting errors. What do i need to do to display the contents of this stream, which was a simple

Re: FileUploadsWithFlow problem

2004-02-11 Thread David Crossley
Mark Lundquist wrote: snip/ I tried to contact the author of the upload component (Nicolas Maisonneuve), to see if he could get me started in the right direction debugging this, but the address I have for him gets blocked by rsl.visi.com which has (wrongly!) listed my mail server as an

Re: FileUploadsWithFlow problem

2004-02-11 Thread Geoff Howard
Bert Van Kets wrote: Hi all, I have finally gotten the FileUploadsWithFlow sample working without errors, but I still can't see anything arriving on the server. :-( Finally got a chance to look at this tonight, and I think I have answers. I have not tested any of this, so it's all fresh from 5

Re: reading binary stream into xsp page

2004-02-11 Thread Eduard Drenth
On Thu, 2004-02-12 at 01:48, beyaNet Consultancy wrote: Hi, I have the following code in my xsp page: byte[] binImg = newArt.getArtistPhoto1(); I now want to display this stream in the page like so: xsp:exprbinImg/xsp:expr If this is a textfile try: xsp:exprnew

Re: Excel Spreadsheet Generator|Transformer

2004-02-11 Thread Eduard Drenth
On Wed, 2004-02-11 at 18:16, Dave Kavanagh wrote: Whoops! I meant to reply to Daniel directly. FWIW, I could supply my transformer to the list (minus a project specific block of code). Anyone else need something like this? Yes, it would indeed be very usefull!! In our company excel wizzards

Re: Sendmail logicsheet internationalization

2004-02-11 Thread Eduard Drenth
On Wed, 2004-02-11 at 12:28, Philippe Guillard wrote: Hi, I've got a problem to internationalize my sendmail : I use a Woody form, then XSP logicsheet as in the sendmail sample, where i get the values entered by woody and add some text that i need to be internationalized to compose the body

Re: URGENT: Cocoon+FO Project needs a new owner

2004-02-11 Thread Eduard Drenth
On Wed, 2004-02-11 at 10:27, Matthias Schäfer wrote: Phil Blake wrote: Hi Everyone, I started a paid project for a friend and have been so snowed under with work that I can't complete it in a reasonable time. Anyone interested in a cocoon 2.1 FoxPro/ESQL/FO PDF publishing project,