Re: Hello ! Can I generate PDFs and XLS through a document object and Cocoon ?

2003-09-19 Thread Yury Mikhienko
Abuout the Xreporter you can find on http://xreporter.cocoondev.org/index.html Hello ! Does xreporter is samilar to Cocoon ? I can't search any tutorial of it ! Thank you ! What about using the cocoon xreporter? Hi Jonathon If you already have a class which generates a JDOM

JSPGen. RequestParameter Encoding

2003-09-19 Thread Christoph Strehl
Hello again, special characters in the request parameter in my JSP are somehow encrypted and even using java.net.URLDecoder.decode() doesn't change that. I tried to set the encoding to ISO-8859-1 but it didn't work at all. Has anyone had a similar problem yet? I am grateful for any hint.

Re: AW: AW: AW: AW: File existence

2003-09-19 Thread Olivier Billard
Can you send the exact error and the stack trace you got ? On 19/09/2003 09:32, Mustafa Ali, Halgurt wrote: Hi, I had 2 days ago a question about the way to test whether a file exist or not, I got a lot of answers, the answers are list below, the last suggestion was to write something

Re: File existence

2003-09-19 Thread Olivier Billard
Sorry, I think I misinterpreted your goal in your pipe... To fit what you want, the red line whould be : map:generate type=file src=default.xml / -- Olivier Billard On 19/09/2003 09:32, Mustafa Ali, Halgurt wrote: Hi, I had 2 days ago a question about the way to test whether a file exist or

Re: JSPGen. RequestParameter Encoding

2003-09-19 Thread
On Fri, 19 Sep 2003 09:00:44 +0200 Christoph Strehl [EMAIL PROTECTED] wrote: Hello again, special characters in the request parameter in my JSP are somehow encrypted and even using java.net.URLDecoder.decode() doesn't change that. I tried to set the encoding to ISO-8859-1 but it didn't work at

Re: AW: File existence

2003-09-19 Thread Olivier Billard
Hi Halgurt, Have you tried without the context:// in the url parameter of the action ? On 19/09/2003 11:13, Mustafa Ali, Halgurt wrote: Oh, you are right, I changed it, but the pipeline still choose the second part, no matter whether the file exists or not, it ignores the act.../act part, do

Re: AW: File existence

2003-09-19 Thread Upayavira
You seem to be having a lot of trouble with this. Have you considered using flow? With the below, if the file exists, the pattern=exists pipeline will be shown, otherwise the pattern=non-existent pipeline will be shown. map:match pattern=page map:call function=exists map:parameter

AW: AW: File existence

2003-09-19 Thread Mustafa Ali, Halgurt
Hello, I did it as you said, but I got this error message: (Exists is not a function) Another question, when I call the Pipeline handling, I don't have just ID as parameter, even more, how can I pass these parameters to the non-exists pipeline? Here is my pipelines: map:flow

Re: AW: AW: File existence

2003-09-19 Thread Upayavira
Mustafa Ali, Halgurt wrote: Hello, I did it as you said, but I got this error message: (Exists is not a function) Note that Javascript is case sensitive. Have you got it as Exists or as exists? Another question, when I call the Pipeline handling, I don't have just ID as parameter, even

AW: AW: AW: File existence

2003-09-19 Thread Mustafa Ali, Halgurt
Hello, I've got it as exists, her ist he content of my exists.js: function exists() { var file = new java.io.File(cocoon.parameters[test-uri]); if (file.exists()) { cocoon.sendPage(cocoon.parameters[exists-uri]; } else { cocoon.sendPage(cocoon.parameters[non-exist-uri]; } }

Re: AW: AW: AW: File existence

2003-09-19 Thread Upayavira
What error are you getting? Can you show me the code you put into your sitemap? Regards, Upayavira Mustafa Ali, Halgurt wrote: Hello, I've got it as exists, her ist he content of my exists.js: function exists() { var file = new java.io.File(cocoon.parameters[test-uri]); if (file.exists()) {

Re: AW: AW: AW: File existence

2003-09-19 Thread Geoff Howard
Mustafa Ali, Halgurt wrote: Hello, I've got it as exists, her ist he content of my exists.js: function exists() { var file = new java.io.File(cocoon.parameters[test-uri]); if (file.exists()) { cocoon.sendPage(cocoon.parameters[exists-uri]; } else {

JSP in C2.1.1

2003-09-19 Thread Christoph Strehl
After about 5 hours of building cocoon-distributions, testing and googling I am quite despaired about using JSP in cocoon. Cocoon runs fine but if it comes to JSPs not even the built-in examples work. org.apache.cocoon.ProcessingException: ServletException in JSPReader.generate() is the

AW: AW: AW: AW: File existence

2003-09-19 Thread Mustafa Ali, Halgurt
You are right, but that was even not the reason, I changed it and am still getting the same error. -Ursprüngliche Nachricht- Von: Geoff Howard [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 19. September 2003 14:08 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: File existence Mustafa

serializer kicking in before transformer finished

2003-09-19 Thread Jorg Heymans
Hi, In my custom transformer (extends AbstractDOMTransformer implements LogEnabled, Cacheable) I have the following : public void endDocument() throws SAXException { super.endDocument(); // required try { helper.endDocument(); // this call potentially takes a few

Re: create a transformer that is a combinaison of transformers

2003-09-19 Thread Andrzej Jan Taramina
Tim: here is work toward this, search on the dev list for Virtual Pipeline Components. I do not believe this has been implemented yet, but would be glad to be proved wrong. Sounds like something I would be interested in as well. In the mean time, you can define a map:resource that contains

Re: XSP in XSL

2003-09-19 Thread Luca Morandini
Jose Antonio Rosa dos Santos Junior wrote: Hi I´m trying to put some java code in my XSL file but it seems to be not working. Every xsp tag i put in it is ignored, and the java code is viewed in the generated HTML page. I also made a separated logic sheet, but it only works in my XSP file. If i

RES: XSP in XSL

2003-09-19 Thread Jose Antonio Rosa dos Santos Junior
hmmm.. Maybe. Haven´t thought that way. Can i link two pipelines to do that instead? I´m sending what i am trying to do: stemap.xmap: ... map:pipeline map:match type=wildcard pattern=*.xsp map:generate type=serverpages src={1}.xsp/ map:transform type=xslt

Re: RES: XSP in XSL

2003-09-19 Thread Luca Morandini
Jose Antonio Rosa dos Santos Junior wrote: hmmm.. Maybe. Haven´t thought that way. Can i link two pipelines to do that instead? I´m sending what i am trying to do: stemap.xmap: ... map:pipeline map:match type=wildcard pattern=*.xsp map:generate type=serverpages src={1}.xsp/

Re: create a transformer that is a combinaison of transformers

2003-09-19 Thread Timothy Larson
--- Andrzej Jan Taramina [EMAIL PROTECTED] wrote: Tim: In the mean time, you can define a map:resource that contains your transforms. Then you can call the resource where you wish to have the compound transform performed. It gives you the same effect of modularity, just with a different

A stupid Question on Portal Framework

2003-09-19 Thread Hauke Ernst
Hello, I am sorry for a probably stupid question, but I just wanted to try the portal framework with the sunspotdemo-portal, but I get an exception directly after starting it on the left side of the frameset (see below). Maybe someone knows the solution, before I try to find the problem by

SOLVED: Executing multiple pipelines for a request?

2003-09-19 Thread Andrzej Jan Taramina
I had asked: I have a situation where I need to transform a single input XML document into multiple (3 or 4 actually) output documents (which will be stored in a database). It's code generation functiohnality (using Cocoon to generate Cocoon code itself) which is where the need for the

RE: JSPGen. RequestParameter Encoding

2003-09-19 Thread Jeff Ramsdale
Tony ( others), Is this the same problem we talked about last week on wsproxy parameter encoding? http://archives.real-time.com/pipermail/cocoon-users/2003-September/038837.h tml That thread was left hanging. Jeff -Original Message- From: Christoph Strehl [mailto:[EMAIL PROTECTED]

Re: JSPGen. RequestParameter Encoding

2003-09-19 Thread Tony Collen
Jeff Ramsdale wrote: Tony ( others), Is this the same problem we talked about last week on wsproxy parameter encoding? http://archives.real-time.com/pipermail/cocoon-users/2003-September/038837.h tml That thread was left hanging. Hrm.. it seems similar, but I'm not too sure. As far as the

DO NOT REPLY [PATCH QUEUE] Summary September 20 2003

2003-09-19 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to