Re: where to get cocoon 3.0.0-beta-1-SNAPSHOT

2016-02-08 Thread Jos Snellings
Hi! You can get the source code from http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/. Cheers, Jos On Mon, Feb 8, 2016 at 10:26 AM, Hans-Heinrich Braun < hansheinrichbr...@yahoo.de> wrote: > I used cocoon 3.0.0-beta-1-SNAPSHOT for a Rest email distribution > application starting with the

Re: cocoon-2.1.12 - lucene indexer - cinclude

2015-03-17 Thread Jos Snellings
Hi Peter, What file do you want to include? (I see no src attribute?) Cheers, Jos On Mon, Mar 16, 2015 at 8:37 PM, Peter Sparkes pe...@didm.co.uk wrote: Hi, I have a lucene application base on samples/blocks/querybean All worked fine for a long time, but now the cinclude in !-- the

Re: Sending Email from a form

2015-03-05 Thread Jos Snellings
Hi Peter, Cannot read the message. Can you send it as quoted text please? Kind regards, Jos On Thu, Mar 5, 2015 at 6:25 PM, Peter Sparkes pe...@didm.co.uk wrote: Hi I have an application that used a form to send emails. This has worked successfully for many years. However, recently

Re: javascript -Java

2014-09-27 Thread Jos Snellings
Hi Peter, Try in your javascript/flowscript: var imagescaled = Scalr.resize(imagein, size); without the new keyword. reason: You try to call a so-called static method. Hope that helps. Jos On Fri, Sep 26, 2014 at 10:30 PM, Peter Sparkes pe...@didm.co.uk wrote: Hi, Cocoon 2.1.12 Ref

Re: Cocoon 2 - Webservice

2014-04-07 Thread Jos Snellings
to respond. Restful was recommended to me by my instructor. I would like to send the XML file via POST to cocoon, recycle there and spend as PDF, HTML, or RTF. Currently, I have not yet an overview if there is a ready-made opportunity to Cocoon XML to accept documents through POST? Von: Jos

Re: Cocoon 2 - Webservice

2014-04-05 Thread Jos Snellings
Hi Klaus, As REST is a principle, it is possible to implement a service in a REST-ful manner. However, is it correct to state, as your message suggests, that the service would perform a sort of document conversion of an XML document in a specified format, to a PDF file? If this is the case, my

Re: Selecting values from a html5 form

2013-07-04 Thread Jos Snellings
You are welcome :-) On Thu, Jul 4, 2013 at 10:55 AM, Peter Sparkes pe...@didm.co.uk wrote: Hi Jos Thorsten, I am sorry that I have not thanked you before for your help. Thank you again Regards Peter On 27/06/2013 13:39, Thorsten Scherler wrote: On 06/27/2013 02:32 PM, Jos

Re: Selecting values from a html5 form

2013-06-27 Thread Jos Snellings
Hi Peter, In the sitemap you have access to request parameters via Jexl: map:match pattern=enquiry map:generate type=someGeneration map:parameter name=from value={jexl:cocoon.request.parameter.fromname}/ ... However, it may be far more convenient to use the

Re: XSLT import/include errors

2013-06-24 Thread Jos Snellings
Hi Francesco et al, Good idea. Where would you put the lever to switch LRU cache on/off? - sitemap? - cocoon spring configuration files? So, the context is limited to developers who want to keep seeing instant results ... Cheers, Jos On Mon, Jun 24, 2013 at 9:43 AM, Francesco Chicchiriccò

Re: XSLT import/include errors

2013-06-24 Thread Jos Snellings
OK, having a short look for: configurator:settings configurator:property name=org.apache.cocoon.sax.lrucache-enabled value=true/ later today On Mon, Jun 24, 2013 at 10:05 AM, Francesco Chicchiriccò ilgro...@apache.org wrote: On 24/06/2013 09:57, Jos Snellings wrote: Hi

Re: Remove XML declaration and html DOCTYPE

2013-06-19 Thread Jos Snellings
Hi Mansour, Try: map:serialize type=xhtml map:parameter name=omit-xml-declaration value=yes/ /map:serialize On Wed, Jun 19, 2013 at 5:14 PM, Mansour Al Akeel mansour.alak...@gmail.com wrote: sorry, my fault. I didn't tell the version. I am using C3.0 On Wed, Jun 19, 2013 at

Re: Remove XML declaration and html DOCTYPE

2013-06-19 Thread Jos Snellings
Replying to my own: map:serialize type=exhtml map:parameter name=omit-xml-declaration value=yes/ /map:serialize That should work if you include cocoon-optional in your dependencies. Cheers, Jos On Wed, Jun 19, 2013 at 5:29 PM, Jos Snellings jos.snelli...@upperware.bizwrote: Hi Mansour

ServletURLConnection

2013-06-07 Thread Jos Snellings
Hi ! Has anyone seen the exeption below before? java.io.IOException: Can't create ServletURLConnection servlet:/openid/formredirection. caused by org.apache.cocoon.servletservice.NoCallingServletServiceRequestAvailableException: A self-reference requires an active servlet request. Kind regards,

Re: cocoon 2.1.12 - memory

2013-04-15 Thread Jos Snellings
Does the site happen to use Avalon Datasource objects? Jos On Mon, Apr 15, 2013 at 11:38 AM, Peter Sparkes pe...@didm.co.uk wrote: On 15/04/2013 10:09, Thorsten Scherler wrote: On 04/15/2013 10:31 AM, Peter Sparkes wrote: Hi Francesco, I have a fairly large 2.1.11 website which has 700+

Re: cocoon 2.1.12 - memory

2013-04-15 Thread Jos Snellings
think so. All data in held and manipulated as xml files. Its fast and easy to program etc Peter On 15/04/2013 10:44, Jos Snellings wrote: Does the site happen to use Avalon Datasource objects? Jos On Mon, Apr 15, 2013 at 11:38 AM, Peter Sparkes pe...@didm.co.uk wrote: On 15/04/2013 10

Re: Dom Transformer

2013-03-15 Thread Jos Snellings
...@gmail.com wrote: Jos, thank you. I though about this. The problem is, the documents I am processing had to go through a pipeline processing before I need to use DOM transformation on them. So a generator is not an option, and I am using C3. On Fri, Mar 15, 2013 at 2:58 PM, Jos Snellings

Re: Relative path for images in FOP

2013-03-09 Thread Jos Snellings
It depends, Where is fop.xconf? In this file you can specify a 'base' parameter, relative to the location of the file. Cheers, Jos On Sun, Mar 10, 2013 at 7:18 AM, Mansour Al Akeel mansour.alak...@gmail.com wrote: I have this: fo:block fo:external-graphic src=url('logo.png')

Re: from Cforms to Wicket

2013-02-18 Thread Jos Snellings
Nice overview! On Mon, Feb 18, 2013 at 5:23 PM, gelo1234 gelo1...@gmail.com wrote: IMHO if you are dealing with XML data, there are only two valid choices: XSLT or XQuery. Both can be used with Cocoon. XSLT is standard Cocoon supported (by XSLTTransformer), XQuery support for Cocoon

Re: [C2.2] Provide or consume Webservices with Cocoon 2.2

2013-01-21 Thread Jos Snellings
Hi Matthias, As a matter of fact, cocoon can host spring modules. You can plug in most every module using the well-known IoC mechanism. In a typical block you will be able to configure things in the META-INF/cocoon/spring folder. This is in my opinion one of the strong points of C3 over C2.2.

Re: [C2.2] Provide or consume Webservices with Cocoon 2.2

2013-01-21 Thread Jos Snellings
(and C3, of course). Unfortunately, I don't know if there is any sample of this kind available. If you succeed with this approach, please report. Regards. -- *Von:* Jos Snellings jos.snelli...@upperware.bizjos.snelli...@upperware.biz *An:* users

html without entities

2012-10-17 Thread Jos Snellings
Dear group, I am looking for a html serializer that generates just UTF-8, and does not bother to convert diacritics to html entities. You can do that with xhtml, yes. However, xhtml is a bit of a nuisance: scripts, different renderings. Are there options? Cheers, Jos -- All generous minds have

Re: beginner q: possible to set extension .xsl as type='xslt' by default?

2012-10-16 Thread Jos Snellings
Dear Tom, Can you send your sitemap.xmap over? For cocoon, the default transformation is an xslt. If you are just starting with a migration, you may want to consider using cocoon 3, which is at the moment in beta, but soon the production version will be ready (@others: isn't it ? :-) Kind

Re: more encoding problems

2012-09-20 Thread Jos Snellings
Hi Mika, Your page declares utf-8 as a character set, but the text you send is not in utf-8. Hence the question mark characters. Question 1: is it the same database that is accessed? (or rather, a copy) Question 2: what is the database url? Cheers, Jos On Thu, Sep 20, 2012 at 9:22 AM,

Re: more encoding problems

2012-09-20 Thread Jos Snellings
/linkki/1059(database reader). Seems to me, that the text falls apart in the text generator. 2) the url is in private network - mika - On Thu, 20 Sep 2012 11:42:32 +0200, Jos Snellings jos.snelli...@upperware.biz wrote: Hi Mika, Your page declares utf-8 as a character set, but the text you

Re: more encoding problems

2012-09-20 Thread Jos Snellings
/init-param Or some else setting you are interested in? This works home and this works in another remote server. I also copied the java from working server to this, but nada.. Tomcat is different, server.xml clone. On Thu, 20 Sep 2012 15:05:33 +0200, Jos Snellings jos.snelli

Re: back button results in a blank

2012-08-22 Thread Jos Snellings
Hi Paul, The browser's back button problem is not a specific cocoon one. I believe that it could have different causes. It is even browser specific, I believe. The back button is just supposed to show the previous viewed resource. I usually stick to 'restful design principles'. This may help to

Sitemap: path matching

2012-05-24 Thread Jos Snellings
Hi all, I am looking for a way to pass a variable number of sitemap parameters to a sitemap component: I explain the use case: ** stands for non-greedy multiple segment matcher, no? map:match pattern=retrievebypath/**/{name}.{extension} map:generate type=retrieve map:parameter

Re: Sitemap: path matching

2012-05-24 Thread Jos Snellings
. ** ** Robby ** ** *From:* Jos Snellings [mailto:jos.snelli...@upperware.biz] *Sent:* Thursday, May 24, 2012 4:31 PM *To:* cocoon-us...@apache.org *Subject:* Sitemap: path matching ** ** Hi all, I am looking for a way to pass a variable number of sitemap parameters to a sitemap

Re: Sitemap: path matching

2012-05-24 Thread Jos Snellings
Yep, I will give that a try ! Thanks, Robby, Jos

CocoonJAXRSServlet

2012-05-18 Thread Jos Snellings
Dear all, Cocoon-3 ordinary pipeline components offer a flexible way to organise REST-full calls between services. (REST, after all is a principle, not a framework). However, curiosity drove me into setting up a small example of a JAX-RS webservice. 1. with mvn jetty:run : works perfectly 2. as a

Re: Cocoon 2.1 web application base path

2012-05-15 Thread Jos Snellings
Hi ! What are you trying to achieve? Jos On Wed, May 16, 2012 at 6:52 AM, Bob Harrod rjhar...@gmail.com wrote: I'm quite new to cocoon, and supporting an older version (2.1). Does anyone know how I can gain access the web application base path inside of a transform? Of course, it can be

Re: mount named blocks inconvenience

2012-05-11 Thread Jos Snellings
O yes, Francesco, that is in every way a good workaround. Thanks, Jos On Fri, May 11, 2012 at 12:43 PM, Francesco Chicchiriccò ilgro...@apache.org wrote: On 10/05/2012 13:05, Jos Snellings wrote: Dear cocooners, Problem: 1. In the definition of a named block, for: servlet:context

mount named blocks inconvenience

2012-05-10 Thread Jos Snellings
Dear cocooners, Problem: 1. In the definition of a named block, for: servlet:context mount-path=/foo context-path=blockcontext:/foo// This tells the cocoon servlet that a block foo is mounted on foo in the webapp. 2. sitemap.xmap An empty matcher like in the cocoon sample: map:match

fop fonts

2012-05-07 Thread Jos Snellings
Dear group, In C3, I need to load extra fonts for FOP. The default set cannot display cyrillic characters, and greek characters with diacritics. Where would one put them best? What is best to configure the fopFactory? Where should the configuration file be? Just before I experiment a bit to find

log levels

2012-05-02 Thread Jos Snellings
Dear group, C3: Departing from the log4j.xml from the sample configuration I try to get rid of the DEBUG-level lines from the sitemap and pipelines. However, no matter what level I specify for the ROOT logger (logging to consoleappender), these DEBUG messages keep appearing. I see no other

Re: log levels

2012-05-02 Thread Jos Snellings
OK, that is good news. Thank you, Thorsten. Jos On Wed, May 2, 2012 at 3:27 PM, Thorsten Scherler scher...@gmail.comwrote: On 05/02/2012 03:11 PM, Jos Snellings wrote: Dear group, C3: Departing from the log4j.xml from the sample configuration I try to get rid of the DEBUG-level lines

Re: parent of parent artifact?

2012-03-10 Thread Jos Snellings
Thanks for sharing this, Thorsten. How do your poms then all fit together? Via a parent pom? I have to draw up an architecture for a similar project: XML content is addressable via web services. (not necessarily cocoon). Cheers, Jos On 03/10/2012 01:27 AM, Thorsten Scherler wrote: major dep

Re: parent of parent artifact?

2012-03-10 Thread Jos Snellings
./url /repository snapshotRepository uniqueVersionfalse/uniqueVersion idmycompany-snapshots/id url./url /snapshotRepository /distributionManagement Robby -Original Message- From: Jos Snellings [mailto:jos.snelli

pipeline component

2012-03-08 Thread Jos Snellings
Hi ! Question: * a web form controls the generation of a report * the report comes as a .zip download What sitemap component should be created for this report generator? (in fact it should be a single component, like map:read) - set headers - write zip output to response.getOutputStream

Re: pipeline component

2012-03-08 Thread Jos Snellings
Hi Francesco! I am running 3! Jos On 03/08/2012 12:20 PM, Francesco Chicchiriccò wrote: On 08/03/2012 11:44, Jos Snellings wrote: Hi ! Hi Jos: first of all, which version are you running? Question: * a web form controls the generation of a report * the report comes as a .zip download

Re: pipeline component

2012-03-08 Thread Jos Snellings
Thanks Robby Francesco! That been said, the use case is a bit special. In my case the sitemap would have gone involved. I did not split it up and here's what I did: public class mycomponent implements Starter, Finisher { ZipOutputStream zip_out = new ZipOutputStream(outputStream); compose

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-02 Thread Jos Snellings
12:47 AM, Jos Snellings wrote: Hi Lars, The instructions on the site are obscure because they presuppose a good deal of Maven knowledge. Maven helps you to build the project: it puts all the files you need together and at first it feels metaphysical (hey, will you let me control my own build

Re: Cocoon 2.2 and OSGI

2012-03-02 Thread Jos Snellings
Hi Fawzib, There are certainly traces of such attempts, for instance: artifactIdcocoon-xml/artifactId version2.0.3-SNAPSHOT/version packagingbundle/packaging Anyone knows more? Jos On 03/02/2012 04:20 PM, Fawzib Rojas wrote: I have been working in Glassfish and OSGI and was wondering, did

Re: How/where to create a sitemap in a generated Cocoon 3 web app?

2012-03-01 Thread Jos Snellings
for a tutorial for newbies, someone interested? I feel that the maven integration and the spring part deserve better explanation, they are way too arcane for starters. A tutorial could explain how to get things done without first studying two other frameworks.] Kind regards, Jos Snellings On 03/01/2012

classnotfound

2012-01-05 Thread Jos Snellings
Dear cocooners, When trying to load cocoon-optional, spring complains loudly about not being able to find class: org/apache/cocoon/components/serializers/util/XMLSerializer In effect, this class is not within the cocoon distribution. To my best knowledge, there is no sub project

Re: tomcat 7 64 bit on Windows 2008

2011-12-15 Thread Jos Snellings
Hi Paul, Did you tell tomcat explicitly where it can find the file?: # export JAVA_OPTS=\ '-Djava.security.auth.login.config=/root/.java.login.config Cheers, Jos On 12/16/2011 05:06 AM, Paul Joseph wrote: Hi there, I have implemented spnego authentication in my cocoon applictaion (Tomcat

Re: N00b - But please help - Cocoon syndication/proxy

2011-07-02 Thread Jos Snellings
Could you please be a little bit more specific about the desired behaviour of your application? For instance, on the basis of what do you want to redirect pages? You can do such things with cocoon, but maybe it is not the best choice. Depending on details. Best, Jos On 07/01/2011 07:12 PM,

Re: HttpServletRequest from Flowscript

2011-06-13 Thread Jos Snellings
the action. I gather the sitemap will automatically make the objectmodel available to my action code and then I can proceed as in step b above. My only problem is I have never written or used an action and so am a bit wary. rgds Paul On 6/13/2011 12:00 AM, Jos Snellings wrote: Hi Paul, C3

Re: HttpServletRequest from Flowscript

2011-06-12 Thread Jos Snellings
Hi Paul, C3 or C2.2? In cocoon-3 you may want to use: import org.apache.cocoon.servlet.util.HttpContextHelper; HttpServletRequest request; public void setup(MapString, Object parameters) { request = HttpContextHelper.getRequest(parameters); } from within a cocoon generator. Cheers,

Re: sitemap

2011-03-10 Thread Jos Snellings
}:{request:serverPort}{reques t:contextPath}/secure/loginpage Using org.apache.cocoon.components.modules.input.RequestModule does not work anymore in 3 ? Laurent -Original Message- From: Jos Snellings [mailto:jos.snelli...@pandora.be] Sent: jeudi 20 janvier 2011 14:07 To: users@cocoon.apache.org

sitemap

2011-01-20 Thread Jos Snellings
Hello, Cocoon 3: Is there an expression for the servername in the sitemap? I am looking for: map:handle-errors map:select value={jexl:cocoon.exception.class.name} map:when contains=NoMatchingPipelineException map:generate src=error-handling/404.xml / map:serialize type=xhtml status-code=404 /

Re: Flash .swf in Cocoon 2.1.11

2010-12-07 Thread Jos Snellings
Hi Peter, Your page is ok, the element says movie not loaded. It looks to me like your problem is not cocoon related. I have a similar flash on a site. It has the parameter play. Here is a sample: (classid not right). OBJECT

Re: HTML5 doctype from Cocoon 2.1?

2010-11-14 Thread Jos Snellings
Hi Martin, Do not know details, but it might help if you use the xsl:output element in your transformation. There is hope that it would not be overridden by the serializer. xsl:output method=xml|html|text|name version=string encoding=string omit-xml-declaration=yes|no standalone=yes|no

Re: AW: [C2.2] Fop Performance Issue with large documents

2010-11-14 Thread Jos Snellings
Off-line would be: with fop.bat, generating static files. The alternative is more expensive: write a cocoon serializer based on iText. But is that a guarantee for absolutely big performance? not sure. just a good guess. XSLT transformations may well defeat the purpose of using SAX, as they

Re: [C2.2] Fop Performance Issue with large documents

2010-11-12 Thread Jos Snellings
Hi Matthias, Do you want to do that on line? Is off-line preparation a possibility? As an alternative to FOP you could try iText which is completely procedural if you want! Jos On 11/12/2010 11:16 AM, Matthias Müller wrote: Hi there, i ran into massive performance problems using Fop

Re: [Cocoon+OAI]

2010-10-15 Thread Jos Snellings
Hi Marco, You are looking for scheduled harvesting and storage, whether you save the harvest in xml or not. Cocoon is more about the presentation/transformation of xml. Maybe this brings you closer : The Digital Commonwealth http://www.digitalcommonwealth.org/ uses a solr based OAI-PMH

Re: [C3] How to/where to disable certificate check accessing HTTPS

2010-09-09 Thread Jos Snellings
Hi Andrej, Could you please provide a little bit more detail on what you want to accomplish? Is it that you need in your sitemap to forward some urls to a secure site? Cheers, Jos - To unsubscribe, e-mail:

Re: Problem using XSP pages

2010-09-07 Thread Jos Snellings
Hi, Shweta, Please tell us first which version cocoon you deployed. Is that 2.2? Cheers, Jos On 09/07/2010 07:46 AM, Shweta Singhai wrote: Hi All, This is Shweta, I am new in cocoon, I configured cocoon block with maven server ..and also with ant. For a simple block its working properly,

Re: Problem using XSP pages

2010-09-07 Thread Jos Snellings
OK, what further details have you got for us? - logs? is something actually happening, going wrong? - or do you see no trace of activity at all? - what is in your sitemap.xmap? Cheers, Jos On 09/07/2010 08:34 AM, Shweta Singhai wrote: Hi Jos, Yes its cocoon 2.2 *From:* Jos Snellings

Re: XSLT document(), logging URI resolver

2010-06-29 Thread Jos Snellings
Hi Lars, I would say that the reference URI is the one of the xslt script itself. So putting the document to fetch in the same directory should help. A common problem is that there is uri-wise nothing to fetch: if you use a relative URI, this would hide the fact that the protocol is http; if

Re: how-to use xml catalog with apache cocoon 2.2

2010-05-25 Thread Jos Snellings
Hi Robby, I have in cocoon.xconf: parameter name=catalog value=/resources/entities/catalog/^M However, it is probably desirable to leave this default catalog config and declare your own local catalogs, which are loaded in addition to the system catalog. There are various ways to

RE: Very large Generator file

2010-05-10 Thread Jos Snellings
A wrote: Correct, it's not being turned into a web page. Is a SAX pipeline part of Cocoon? I'm still on Cocoon 2.1, but I've never heard that term specifically, I thought the default generator did use SAX. -Original Message- From: Jos Snellings [mailto:jos.snelli...@pandora.be

RE: Very large Generator file

2010-05-10 Thread Jos Snellings
as they are and continue using the default cocoon xsl tranform as the first step. Sounds like there's not? -Original Message- From: Jos Snellings [mailto:jos.snelli...@pandora.be] Sent: Monday, May 10, 2010 8:39 AM To: users@cocoon.apache.org Subject: RE: Very large Generator file

RE: Very large Generator file

2010-05-10 Thread Jos Snellings
-Original Message- From: Jos Snellings [mailto:jos.snelli...@pandora.be] Sent: Monday, May 10, 2010 9:30 AM To: users@cocoon.apache.org Subject: RE: Very large Generator file Hi Jeff, If you have been trying giving all the available memory to your tomcat instance (JVM

Re: Very large Generator file

2010-05-07 Thread Jos Snellings
Hi Jeff, That depends a great deal on what you want to do exactly with the large file. I guess you do not want to transform it into one huge web page? In general, if you have to deal with lengthy inputs, a SAX pipeline is the way to go. Jos On Fri, 2010-05-07 at 18:14 -0500, Schmitz, Jeffrey A

Re: is possible to use jquery in coccon

2010-04-30 Thread Jos Snellings
This is rather a question for cocoon users. Your answer: Yes it is! It is something that is fundamentally possible, but I suggest you keep the bulk of your script in separate files, as constructs like $(#my_id).val('xsl:value-of select=@some_attribute/'); tend to cater for poor readability.

Re: Bug in Cocoon-Caching?

2010-03-22 Thread Jos Snellings
SimpleCacheKey by ParameterCacheKey solved the problem. Have a look at the routine! Maybe this removes your problem. I suggested to replace this in the examples. Hope this helps, Jos On Mon, 2010-03-22 at 21:33 +0100, Johannes Lichtenberger wrote: I think it could be related to the bug Jos

Re: use cocoon framework to manage static content

2010-03-17 Thread Jos Snellings
Hi Sumit, If I understand your story well, you are facing a rapid publication problem. The marketing department delivers data not in XML format. I do not see directy a great added value in bringing cocoon in the scheme. My suggestion is to check out some web content management productivity tool.

Re: [jira] Commented: (COCOON3-53) Cocoon 3: XMLSerializer caches all

2010-03-09 Thread Jos Snellings
URL: https://issues.apache.org/jira/browse/COCOON3-53 Project: Cocoon 3 Issue Type: Bug Components: cocoon-pipeline Reporter: Jos Snellings After startup, any pipeline/matcher ending in an xml-serializer will produce the output

HOLD PREVIOUS MESSAGE

2010-03-09 Thread Jos Snellings
Please put this message on hold. I might have expressed myself in haste. First I need to perform another test! Jos On Tue, 2010-03-09 at 13:17 +0100, Jos Snellings wrote: Yes, Reinhard, I agree very much with the observation that everything that influences the output must go in the cache key

ParameterCacheKey for a Generator.

2010-03-09 Thread Jos Snellings
+0100, Jos Snellings wrote: Please put this message on hold. I might have expressed myself in haste. First I need to perform another test! Jos On Tue, 2010-03-09 at 13:17 +0100, Jos Snellings wrote: Yes, Reinhard, I agree very much with the observation that everything that influences the output

Re: Cocoon 3 XML serializer

2010-03-06 Thread Jos Snellings
. Cheers, Jos On Thu, 2010-03-04 at 09:36 +0100, Jos Snellings wrote: I have just checked out revision 918886. As my version was a bit out of date, in order to limit the increase in enthropy, I will make a build and report back if the problem persist. If so I create a Jira issue. Cheers, Jos

Re: Writing generator / Cocoon3 alpha

2010-03-05 Thread Jos Snellings
Johannes, you need one or two things beside the code of the generator. - first, how is it invoked? Can you send the fragment of your sitemap.xmap that matches an url supposed to invoke this generator? - second, is there a line in sitemap-components that defines this generator? Best, Jos On Sat,

Re: Cocoon 3 XML serializer

2010-03-04 Thread Jos Snellings
I have just checked out revision 918886. As my version was a bit out of date, in order to limit the increase in enthropy, I will make a build and report back if the problem persist. If so I create a Jira issue. Cheers, Jos On Thu, 2010-03-04 at 07:36 +0100, Reinhard Pötz wrote: Jos Snellings

Re: Cocoon 3 XML serializer

2010-03-04 Thread Jos Snellings
wrote: Jos Snellings wrote: Hi, Is the hereunder described issue with XML serializers known? A sitemap having several xml serialization patterns: map:pipeline map:match pattern=showterm.xml map:generate type=term/ map:serialize type=xml/ /map:match

Re: Cocoon 3 XML serializer

2010-03-04 Thread Jos Snellings
/~simonetripodi/ On Thu, Mar 4, 2010 at 11:04 AM, Jos Snellings jos.snelli...@pandora.be wrote: Hi! In the full checkout of the cocoon-3 SVN repository I am missing: org.apache.cocoon.sax.xpointer.XPointerFrameworkParser; org.apache.cocoon.sax.xpointer.ParseException; This prevents

RE: Type 'jsp' does not exist for 'map:generate'

2010-03-03 Thread Jos Snellings
org.apache.cocoon.generation.Gene rator/jsp with class: intro Appreciate any advise, Thanks and regards, Venura. -Original Message- From: Jos Snellings [mailto:jos.snelli...@pandora.be] Sent: Wednesday, March 03, 2010 1:57 PM To: d...@cocoon.apache.org Subject: Re: Type 'jsp' does

Cocoon 3 XML serializer

2010-03-02 Thread Jos Snellings
Hi, Is the hereunder described issue with XML serializers known? A sitemap having several xml serialization patterns: map:pipeline map:match pattern=showterm.xml map:generate type=term/ map:serialize type=xml/ /map:match map:match pattern=hierarchies

Re: Strange encoding problem using forms

2010-02-11 Thread Jos Snellings
The two tomcat versions on the machines are the same, but, can you please make a diff between the two server.xml under $CATALINA_HOME/conf? Just to be sure ... Jos On Thu, 2010-02-11 at 11:47 +0100, Søren Krum wrote: Hello! I have a small problem with a cocoon application and forms. The

Re: HELP needed with latest Cocoon 2.2 (JNET / SSF)

2010-02-02 Thread Jos Snellings
Hi Gabriel, Very strange to have that exception there! When does it happen? Is it predictable? Kind regards, Jos On Tue, 2010-02-02 at 19:44 +0100, Gabriel Gruber wrote: Hello comunity, I found a serious bug in JNET / servlet service framework in our cocoon 2.2 based application. After

Re: character encoding of a HttpServletRequest

2010-01-11 Thread Jos Snellings
-nameform-encoding/param-name param-valueUTF-8/param-value /init-param Cheers, thanks for the hint. I will post the result... I will certainly not be the only person who is confronted with this problem. Jos On Mon, 2010-01-11 at 08:54 +, Dominic Mitchell wrote: 2010/1/10 Jos

Re: character encoding of a HttpServletRequest

2010-01-11 Thread Jos Snellings
/param-value /init-param /filter filter-mapping filter-nameencodingFilter/filter-name url-pattern/*/url-pattern /filter-mapping (Insert it as the first children under the web-app root element) Jos On Mon, 2010-01-11 at 08:54 +, Dominic Mitchell wrote: 2010/1/10 Jos Snellings

Re: character encoding of a HttpServletRequest

2010-01-11 Thread Jos Snellings
add a tryToGuessEncodingFilter. Jos On Mon, 2010-01-11 at 10:49 +0100, Reinhard Pötz wrote: Jos Snellings wrote: Hi, HttpServletRequest looks 'imperfect': Cocoon 3, alpha 2. A generator accesses the HttpServletRequest in the setup method: request = HttpContextHelper.getRequest

Re: character encoding of a HttpServletRequest

2010-01-10 Thread Jos Snellings
This is not a specific cocoon issue, I believe. It probably has to do with Tomcat 5.5.27. request.setCharacterEncoding simply does not work; it does not change a thing. request.getCharacterEncoding returns nothing. Best, Jos On Sat, 2010-01-09 at 08:01 +0100, Jos Snellings wrote: Hi

character encoding of a HttpServletRequest

2010-01-08 Thread Jos Snellings
Hi, HttpServletRequest looks 'imperfect': Cocoon 3, alpha 2. A generator accesses the HttpServletRequest in the setup method: request = HttpContextHelper.getRequest(parameters); text = request.getParameter(tekst); The pages, including forms are ecoded in utf-8. The String 'text' is strange: the

Re: escaping special characters in an XSP String

2009-12-07 Thread Jos Snellings
Hi Paul, Can you please explain the purpose of not escaping? Do you want for instance to prevent ampersand from being converted to amp; ? Best, Jos On Mon, 2009-12-07 at 13:21 +, Paul Adriaenssens wrote: Hi, I want to avoid escaping special characters in an xsp String retrieved

Re: configuring Jetty to log into a file

2009-12-06 Thread Jos Snellings
Look for any log4j.xml or log4j.properties in the classpath. There is a log4j.xml in the cocoon samples in ./rcl-config/WEB-INF/log4j.xml. A log file is created in param name=File value=./target/work/log/cocoon.log/ Jos On Sun, 2009-12-06 at 22:39 +0100, Johannes Lichtenberger wrote: Well, it's

URLConnectionUtils.closeLoudly()

2009-12-04 Thread Jos Snellings
Hi! At the end of RESTController I get: 2009-12-04 14:57:26,014 ERROR http-8080-Processor20 org.apache.cocoon.sitemap.InvocationImpl/handle-errors - Error while executing the sitemap. [request-uri=/editor/put/definition/1124] java.lang.NullPointerException at

Re: URLConnectionUtils.closeLoudly()

2009-12-04 Thread Jos Snellings
You are right in literal.equals(param), but that is not the source of the problem. Like smoking, it is a habit I'd better give up ;-) Jos On Fri, 2009-12-04 at 15:29 +0100, Johannes Lichtenberger wrote: On Fri, 2009-12-04 at 15:15 +0100, Jos Snellings wrote: [StackTrace] It is certainly

Re: URLConnectionUtils.closeLoudly()

2009-12-04 Thread Jos Snellings
This is one for documentation: from the examples: URLResponse(servlet:/somewherehere,data) does not work if you specify the root url. Notation is absolute (with servlet:) if /somewherehere is in the same pipeline it works! However, closeQuietly does not close quietly if the urlconnection is

Re: REST / Can't find URLResponseBuilder

2009-12-01 Thread Jos Snellings
O yes, you are right! It dates from a couple of trials in alpha-1, when I was having trouble to make setup() work. Thanks. Jos On Tue, 2009-12-01 at 22:21 +0100, Steven Dolg wrote: Jos Snellings schrieb: If I understand you well, your assignment is to: * catch a get URL emitted by Google

Re: REST / Can't find URLResponseBuilder

2009-11-29 Thread Jos Snellings
, 2009-11-29 at 07:32 +0100, Jos Snellings wrote: In the samples, a typical use of StringTemplate is shown: a page is to be interpreted by the StringTemplate engine, and a number of properties are passed via the hashtable. The idea is that you would open a view on the object. So, - the query

Re: cocoon 3: xslt and pickup java scripts: Firebug

2009-11-26 Thread Jos Snellings
I have seen these, they are in 'cocoon-optional', but how to configure in the pipeline? map:serialize type=exhtml/ or ehtml? (are there new samples? I did not know) On Thu, 2009-11-26 at 18:22 +0100, Reinhard Pötz wrote: Jos Snellings wrote: Indeed, Robby, this is clearly the behaviour we

cocoon 3: xslt and pickup java scripts

2009-11-25 Thread Jos Snellings
Hello ! I have a strange observation to share: when multiple javascripts are included in an XSLT transformation, to land in the head of an html page, it is observed that some are never fetched, by FireFox 3.5.5 (Ubuntu). I clarify: exerpt 1: from sitemap, pipeline for static resources:

Re: cocoon 3: xslt and pickup java scripts

2009-11-25 Thread Jos Snellings
I was about to do that, it really points in the direction of firefox. I will let you know On Wed, 2009-11-25 at 12:44 +0100, Reinhard Pötz wrote: Jos Snellings wrote: Hello ! I have a strange observation to share: when multiple javascripts are included in an XSLT transformation

Re: cocoon 3: xslt and pickup java scripts

2009-11-25 Thread Jos Snellings
, I don't know if its related but I have had problems with firefox and javascript if the serializer was set to return xhtml. As soon as I set the serializer to html the javascript seems to work OK. Thanks Glen On 25 Nov 2009, at 10:59, Jos Snellings wrote: Hello ! I have

Re: cocoon 3: xslt and pickup java scripts: Firebug

2009-11-25 Thread Jos Snellings
. Is this to be considered as an issue? Fact is that the produced xhtml is valid and *should* work. Kind regards, Jos On Wed, 2009-11-25 at 13:16 +0100, Jos Snellings wrote: I was about to do that, it really points in the direction of firefox. I will let you know On Wed, 2009-11-25 at 12:44 +0100, Reinhard

RE: cocoon 3: xslt and pickup java scripts: Firebug

2009-11-25 Thread Jos Snellings
subsequent tags are sometimes treated as children of the empty preceding div tag. Kind regards, Robby -Original Message- From: Jos Snellings [mailto:jos.snelli...@pandora.be] Sent: Wednesday, November 25, 2009 4:51 PM To: users@cocoon.apache.org Subject: Re: cocoon 3: xslt and pickup

Re: Timer on cocoon

2009-11-24 Thread Jos Snellings
, Jos Snellings jos.snelli...@pandora.be wrote: Hi, Gintare, Cocoon is not even remotely a system to schedule operations. Maybe you are looking for something like http://www.quartz-scheduler.org/ Most OS let you schedule jobs

Re: cocoon3 block deployment

2009-11-17 Thread Jos Snellings
Please find below the follow up on the tomcat deployment problem. I am sure it is of interest to a lot of users: With the latest sources checked out from svn, built in eclipse the problem is solved. Deployment under tomcat: 1. add xercesImpl.jar 2. in the local build I have no pom.properties

  1   2   >