saving multiple files uploaded from an external (unknown) source

2009-04-29 Thread roman pielaszek
Hi, I use CForms uploads in Cocoon 2.1.11 smoothly. Now, I need to receive POST request from an external Java applet containing many files (and some other data in text fields). In PHP it would be just: foreach($_FILES as $file) { $array_path = explode('/',$file['name']); $arraySize = co

Re: XSLT is Dead ?!

2009-04-29 Thread Antonio Gallardo
Hi Derek, Thanks for spotting out my error. I was wondering why there where too few related mails about Freemarker in cocoon. :P Best Regards, Antonio Gallardo Derek Hohls escribió: > Antonio > > True - but it would be useful to tell the original author this > as well! > > PS it is Freemarker

Re: XSLT is Dead ?!

2009-04-29 Thread Ken Starks
Derek Hohls wrote: Ken I would echo most of your sentiments, except for the XSP part. I have found that the flowscript/JXT gives me all the logic/layout options I need ... without having to worry about any Java at all in my apps. I think that is why the developers decided to deprecate XSP quite

RE: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread norbert . reinhard
Thank you Andreas for your response if I change the local.build.properties in the following setting: pubs.root.dirs=src/pubs:../CONTRIB_HOME/pubs modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules:../CONTRIB_HOME/modules:../CONTRIB_HOME/pubs/defaultfiredocs/modules modules.c

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Yet another person
Oh dear god, I thought it was something silly. I got it to work, sorry for bothering you. I forgot the folder is called resource instead of resources Thanks for your efforts anyway! On Wed, Apr 29, 2009 at 12:02 PM, Yet another person < breathofgh...@gmail.com> wrote: > like this? > >

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Yet another person
like this? didn't work either On Wed, Apr 29, 2009 at 12:00 PM, Jeroen Reijn wrote: > This probably won't work, since a generate is to generate from for instance > an XML file, not a static resource. What you actually want to do is use a > reader (map:read). > > Regards, >

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Jeroen Reijn
This probably won't work, since a generate is to generate from for instance an XML file, not a static resource. What you actually want to do is use a reader (map:read). Regards, Jeroen Yet another person wrote: I made the following match in my pipeline: and my stylesheet pointed

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Yet another person
I want to aggregate different sources into a styled website.Using a stylesheet to add layout to my data to present the user... On Wed, Apr 29, 2009 at 11:55 AM, Joerg Heinicke wrote: > What exactly are you trying to achieve? An XSLT is used for transforming an > XML structure into another one. Th

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Joerg Heinicke
What exactly are you trying to achieve? An XSLT is used for transforming an XML structure into another one. There is no CSS involved. Do you want to style the output? Joerg On 29.04.2009 11:46, Yet another person wrote: I've been trying to use a css stylesheet in my xsl transformation but It

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Yet another person
I made the following match in my pipeline: and my stylesheet pointed to the css like this: On Wed, Apr 29, 2009 at 11:48 AM, Jeroen Reijn wrote: > Hi, > > your css file will be requested as a browser request, so you will have to > make sure you have a matcher in your sitemap that handle

Re: Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Jeroen Reijn
Hi, your css file will be requested as a browser request, so you will have to make sure you have a matcher in your sitemap that handles this request. What did not work when you tried that? Regards, Jeroen Yet another person wrote: I've been trying to use a css stylesheet in my xsl transform

Howto: Make CSS available from within a stylesheet?

2009-04-29 Thread Yet another person
I've been trying to use a css stylesheet in my xsl transformation but It doesn't come through. It seems cocoon doesn't understand relative paths nor does it understand resource/internal/stylesheets/file.css or any other link i've tried. I even made a pipeline to match the css from my sitemap but t

Re: XSLT is Dead ?!

2009-04-29 Thread Bart Remmerie
Yes it is. Just add the saxon-transformer to your sitemap, add the necessary lines in cocoon.xconf and make sure you are using the correct transformer in your pipelines & have installed the appropriate jar in you lib-folder. It also works to do a quick google on the subject (apache cocoon saxon):