URGENT JSP for PDF generation

2003-08-22 Thread Angus Miller
Hi All, I have been using JasperReports and wanted to intergrate with Cocoon. I using some java code in JSP page and works fine but the rendered PDF document never has any content here is jsp code: %@ page language=java % %@ page import=dori.jasper.engine.* % %@ page import=java.util.* % %@

Re: Simple form handling

2003-08-22 Thread John Williams
Does exist some simple way of handling forms in Cocoon? I just want to generate form, get input from user, validate and if it's incorrect send back the information why is incorrect. If all you need is tests on range, not null, matches-regex(pretty useful, eg test if email address), min

RE: Calling a pipeline without triggering through a URL

2003-08-22 Thread Verwer, Nico
Jörn Heid writes: I want to save the output of a pipeline using a schedule class. E.g. saving an excel file every hour automatically. An approch would be to call the specific URL (e.g. http://localhost/get-excel-sheet.xls) but as I use a login-prompt I have to call serveral pages before.

SOAP and HTTP-Authentication

2003-08-22 Thread Alexander Czernay
Is it possible to use HTTP-Authentication with the actual SOAP-XSP inside Cocoon 2.1? Does this also work with HTTPS (the Wiki states that it's impossible with 2.0.4)? How do I have to implement it? Thanks for any hints, Alexander -- _ Alexander Czernay

Cocoon-view=links, LinkSerializer, Events, problem in Cocoon 2.1

2003-08-22 Thread Johannes Goerke
Hello, I use cocoon 2.1, I have upgraded from cocoon 2.0.4. I describe behaviour of Cocoon 2.1, it differs from the behaviour of Cocoon 2.0.4. I'm applying in the last step of my pipeline an XSL - transformation that encodes self defined link-tags into HTML a href= tags. But when I use

Re: Cocoon-view=links, LinkSerializer, Events, problem in Cocoon 2.1

2003-08-22 Thread Johannes Goerke
Hello again, Sorry: the cited problem only appears in my own application. So don't try the example code, it works correctly (for example in the docs - subsite). Regards, Johannes -Ursprüngliche Nachricht- Von: Johannes Goerke Gesendet: Freitag, 22. August 2003 13:49 An: '[EMAIL

Re: Where is build.sh in 2.1 cvs

2003-08-22 Thread Geoff Howard
Quoting Joerg Heinicke [EMAIL PROTECTED]: No, I did a clean checkout today on work. It included a build.sh. Joerg Keith Goettert wrote: Just got the 2.1 HEAD from CVS. No build.sh in the root. Anybody else observe this? I'll bet you $20 USD that he did a checkout of xml-cocoon2

logs for JSP

2003-08-22 Thread Wise Team
Dear All, I upgraded to Cocoon 2.1 and now, I can't see the errors raised in my jsp pages. In version 2.0.4, I used to see them in core.log or sitemap.log. I've tried to change all log-level to DEBUG in cocoon.xconf and web.xml. I can see more messages, but not those raised in jsp pages.

Re: SourceWritingTransformer error

2003-08-22 Thread Matthieu
Both side are true ... in cocoon 2.0.4 the syntax is source:write src=xml/resource-list.xml xmlns:source=http://apache.org/cocoon/source/1.0; overwrite=true xsl:copy-of select=/*/ /source:write It's not what is explained on cocoon 2.0 documentation but the exemples in scratchpad

throwing non-ProcessingExceptions from XSPs

2003-08-22 Thread Sonny Sukumar
Hi guys, Is it possible to declare additional exception types to be thrown from the generate() method generated from an XSP? The generate code throws SAXException, IOException, ProcessingException by default. I thought that, since Cocoon 2.1 has improved support for handling various

UnnamedSelector Exception at cocoon startup

2003-08-22 Thread JonBeds
Hello, Please can anyone help. Having installed cocoon on Tomcat I went to access the url: http://locahost:8080/cocoon and got the following exception: type fatal message Error in sitemap configuration : UnnamedSelector: ComponentSelector could not find the component for hint [] description

Re: configuring sitemap location

2003-08-22 Thread Matthieu
Hello, some solutions that might work. 1) For the principal sitemap, use simlink, ex: your sitemap is in /work/cocoon/sitemap.xmap and the sitemap.xmap in .../webapp/cocoon2/sitemap.xmap is a link to that file. 2) For the submap the src parameter can take absolute path map:match pattern=*/**

Re: session:getxml not working

2003-08-22 Thread Sonny Sukumar
Ahh, thanks Andrew, that worked. But I have another question. Say I have this in the context: data some-tagsome content/some-tag alert-messages alert-messageSome text here/alert-message /alert-messages /data If I use session:getxml context=temporary path=/data/alert-messages/ then I just

RE: UnnamedSelector Exception at cocoon startup

2003-08-22 Thread Don Shanks
I second the request, I am getting the same error, only on RedHat9/2.4.20, Java 1.4.1 Tomcat 4.1.24 --Don -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 9:06 AM To: [EMAIL PROTECTED] Subject: UnnamedSelector Exception at cocoon

Re: throwing non-ProcessingExceptions from XSPs

2003-08-22 Thread Joerg Heinicke
What about extending ProcessingException? Joerg Sonny Sukumar wrote: Hi guys, Is it possible to declare additional exception types to be thrown from the generate() method generated from an XSP? The generate code throws SAXException, IOException, ProcessingException by default. I thought

Re: throwing non-ProcessingExceptions from XSPs

2003-08-22 Thread Joerg Heinicke
It's not the XSPs that are inflexible, it's the generator contract / interface - and this can't be that flexible: http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/generation/Generator.java?rev=1.1content-type=text/vnd.viewcvs-markup Of course you can start a discussion on

1 more auth question..

2003-08-22 Thread Sonny Sukumar
Hi all, I'm not clear on how the authentication resource gets parameters that are passed to it from auth-login. My auth resource is an XSP, and I try to fetch them as request params. However, I'm not sure if that's correct because I've verified that my auth resource produces output matching