AbstractAnnotationAction for Cocoon 2.x

2009-07-03 Thread Jörn Heid
Hi. I've written a simple class which may help others writing Actions with lesser code. Feel free to use it (and expand it) if you like it. An example: public class TestAction extends AbstractAnnotationAction { @ActionMethod protected void doMyAction (@SitemapParam(my-param)

Re: XSLT transformation

2005-08-03 Thread Jörn Heid
Just remember that XML Spy does not use the same XSLT transformer as Cocoon. I think there is an error in your stylesheet. Try to comment out some parts of it to find the lines which causes the error. JOERN Antony Grinyer schrieb: Hi, A have a simple sitemap entry as below: map:match

outputBufferSize problem

2005-01-14 Thread Jörn Heid
Hello. I've used map:pipeline map:parameter name=outputBufferSize value=1/ and map:pipes default=noncaching map:pipe name=noncaching src=org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline parameter name=outputBufferSize value=1/ to realize, that the output of a XSP

AW: Running Cocoon from CD

2004-04-23 Thread Jörn Heid
What about using Jetty? You can write your own startup app which launches Jetty+Cocoon, even as an autostart-exe which uses a jre on the cd (which might be a little bit slow). -Ursprüngliche Nachricht- Von: Michael Faschinger [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 22. April 2004

Solution for Protecting Cocoon Apps

2003-10-24 Thread Jörn Heid
Background: If you want to gíve customers your application (e.g. for a demo, proof-of-concept, discussion) you habe to include source code, everybody can see as plain text. If one of your customer has evil intensions he can look at all interna of your application, e.g. XSL-stylesheets, SVG data,

AW: How to protect a Cocoon project

2003-10-22 Thread Jörn Heid
/10/2003 09:47, Jörn Heid wrote: Hello. I want to give my customer a demo of my Cocoon based application which runs with Jetty on their local machine. But the problem is everybody can see the internals of the app. All the pipelines in sitemap.xmap, all XSL and XML. It can be used to find

Calling a pipeline without triggering through a URL

2003-08-21 Thread Jörn Heid
Hi. 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. So, there must be a