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 wrote: > Hi, > > I have a lucene application base on "samples/blocks/querybean" > > All worked fine for a long time, but now the cinclude in > > > > >

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 wrote: > Hi > > I have an application that used a form to send emails. > > This has worked successfully for many years. However, recently users have > rep

Re: javascript -Java

2014-09-26 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 wrote: > Hi, > > Cocoon 2.1.12 > > Ref http://cocoo

Re: Cocoon 2 - Webservice

2014-04-07 Thread Jos Snellings
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? >

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 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 Scherle

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: ... However, it may be far more convenient to use the HttpRequest, as it is exposed in different ways: 1. if you want to send your user's inputs to a controller to handle them as in:

Re: XSLT import/include errors

2013-06-24 Thread Jos Snellings
OK, having a short look for: 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 Francesco et al, > > Good idea. Where would you put the lever to sw

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ò w

Re: Remove XML declaration and html DOCTYPE

2013-06-19 Thread Jos Snellings
Replying to my own: That should work if you include cocoon-optional in your dependencies. Cheers, Jos On Wed, Jun 19, 2013 at 5:29 PM, Jos Snellings wrote: > Hi Mansour, > > Try: > > > > > > > > > On Wed, Jun 19, 2013 at 5:14 PM, Mansour Al

Re: Remove XML declaration and html DOCTYPE

2013-06-19 Thread Jos Snellings
Hi Mansour, Try: On Wed, Jun 19, 2013 at 5:14 PM, Mansour Al Akeel wrote: > sorry, my fault. I didn't tell the version. > I am using C3.0 > > > > On Wed, Jun 19, 2013 at 11:05 AM, Bhavya Sharma wrote: > >> try this >> >> > src="org.apache.cocoon.serialization.XMLSerializer"> >> U

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
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 Spa

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 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+ v

Re: Dom Transformer

2013-03-15 Thread Jos Snellings
01 PM, Mansour Al Akeel 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 1

Re: Dom Transformer

2013-03-15 Thread Jos Snellings
You can, within a generator class, (C3), or within an xsp (C 2). Sometimes such things come in handy. If you mean, configure one from the sitemap, I see no uses. Cheers, Jos On Fri, Mar 15, 2013 at 7:05 PM, Mansour Al Akeel wrote: > I know this may sound strange, but I like to create a transf

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 wrote: > I have this: > > > /> > > .. > > I am getting this in the logs: > > 2013-03-10 01:12:29,952 btpo

Re: from Cforms to Wicket

2013-02-18 Thread Jos Snellings
Nice overview! On Mon, Feb 18, 2013 at 5:23 PM, gelo1234 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 exists in XQueryGe

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

2013-01-21 Thread Jos Snellings
d in C2.2 (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 > > *An:* users@cocoon.ap

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. Che

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 regard

Re: more encoding problems

2012-09-20 Thread Jos Snellings
gt; form-encoding > UTF-8 > > > 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. > > > &

Re: more encoding problems

2012-09-20 Thread Jos Snellings
inkki/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 >> wrote: >> >>> Hi Mika,

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, wrote: >

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

Re: Sitemap: path matching

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

Re: Sitemap: path matching

2012-05-24 Thread Jos Snellings
ant to handle > multiple productId’s > > ** ** > > ** ** > > Pattern=”generateProduct/*” > > ** ** > > Example > > ** ** > > generateProduct/[P1, P2, P3] > > ** ** > > You just pass ‘[P1,P2,P3]’ to your generator as a single argument and let >

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? Of course you could {1}, {2}, {3} but that is a clutch. Is there an elegant way? Ki

CocoonJAXRSServlet

2012-05-17 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 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 passed by the sit

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 blo

mount named blocks inconvenience

2012-05-10 Thread Jos Snellings
Dear cocooners, Problem: 1. In the definition of a named block, for: 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: 3. call localhost/mywebapp/foo or, the root of th

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

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 wrote: > 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 >>

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 log4j.x

Re: parent of parent artifact?

2012-03-10 Thread Jos Snellings
eases . false mycompany-snapshots . Robby -Original Message- From: Jos Snellings [mailto:jos.snelli...@pandora.be] Sent: Saturday, March 10, 2012 3:13 PM To: users@cocoon.apache.org Subject: Re: pare

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: 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: pipeline component

2012-03-08 Thread Jos Snellings
Hi, Thanks, so far. The content of the zip file is: - a pdf - one to 5 excel files - an xml (SKOS) A pipeline with one component that is starter and endpoint. I will see what I can come up with and let the group know. Jos -

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

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 Thank

Re: Cocoon 2.2 and OSGI

2012-03-02 Thread Jos Snellings
Hi Fawzib, There are certainly traces of such attempts, for instance: cocoon-xml 2.0.3-SNAPSHOT bundle 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 Cocoon 2.2 was ever made into an OSGI bundle? I googled

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

2012-03-02 Thread Jos Snellings
s On 3/2/2012 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 contr

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

2012-03-01 Thread Jos Snellings
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 11:59 PM,

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 cocoon-component

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 6,

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

2011-07-01 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, Lu

Re: HttpServletRequest from Flowscript

2011-06-13 Thread Jos Snellings
n and use the sitemap to fire 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

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(Map parameters) { request = HttpContextHelper.getRequest(parameters); } from within a cocoon generator. Cheers, Jos On 06/12/2

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.apac

sitemap

2011-01-20 Thread Jos Snellings
Hello, Cocoon 3: Is there an expression for the servername in the sitemap? I am looking for: uri="https://{server}/myapplication/secure/loginpage"; /> Thanks! Jos - To unsubscribe, e-mail: users-unsubscr...@cocoon.apa

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). http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve

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

2010-11-14 Thread Jos Snellings
tion"? I heard about the good performance of iText. Since we do only xml processing i need a way to apply xsl:fo stylesheet and afaik there is no xsl fo renderer for iText. Matthias - Ursprüngliche Mail ---- Von: Jos Snellings An: users@cocoon.apache.org Gesendet: Freitag, den 12. Nove

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. Cheers, Jos On 11/12/2010 05:17 PM, Martin Holmes wrote: Hi there, Does anyone know how to configure a serializer f

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 serializ

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 uses a solr based OAI-PMH engi

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: users-unsubscr...@c

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: Problem using XSP pages

2010-09-06 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, b

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 you

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

2010-05-25 Thread Jos Snellings
Hi Robby, I have in cocoon.xconf: ^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 do local configuration (see "Entity Catalogs" documen

RE: Very large Generator file

2010-05-10 Thread Jos Snellings
o the xsl > transform on the large file? Won't any java program come up against the 2 > Gig max memory limitation? > > Thanks, > Jeff > > > -Original Message- > > From: Jos Snellings [mailto:jos.snelli...@pandora.be] > > Sent: Monday, May 10, 2010 9:

RE: Very large Generator file

2010-05-10 Thread Jos Snellings
, but I was wondering if > there might be a way to easily keep things 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...@pan

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- > >

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 w

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(''); tend to cater for poor readability. You may want to organise all your ja

Re: Bug in Cocoon-Caching?

2010-03-22 Thread Jos Snellings
examples. Replacing 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

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.

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 &

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 cac

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

2010-03-09 Thread Jos Snellings
> > > > Key: COCOON3-53 > > URL: https://issues.apache.org/jira/browse/COCOON3-53 > > Project: Cocoon 3 > > Issue Type: Bug > > Components: cocoon-pipeline > >Reporter:

Re: Cocoon 3 XML serializer

2010-03-06 Thread Jos Snellings
nd see what I can do. 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

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, 2

Re: Cocoon 3 XML serializer

2010-03-04 Thread Jos Snellings
dir > as a source dir; this is what the JavaCC plugin for maven does for us > :P > Let me know if you need help!!! > Ciao ;) > Simo > > http://people.apache.org/~simonetripodi/ > > > > On Thu, Mar 4, 2010 at 1:59 PM, Jos Snellings > wrote: > > Hi Sim

Re: Cocoon 3 XML serializer

2010-03-04 Thread Jos Snellings
> Best, > Simo > > http://people.apache.org/~simonetripodi/ > > > > On Thu, Mar 4, 2010 at 11:04 AM, Jos Snellings > wrote: > > Hi! > > > > In the full checkout of the cocoon-3 SVN repository I am missing: > > org.apache.cocoon.sax.xpointer.X

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: > > > > > > > > > > > > >

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 Snelli

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

2010-03-03 Thread Jos Snellings
map.xmap' .; > nested > exception is > org.apache.avalon.framework.configuration.ConfigurationException: > Unable to create class for component with role > org.apache.cocoon.generation.Gene > rator/jsp with class: intro > > Appreciate any advise, > Thanks and re

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: ... This pipeline is observed to have an 'eternal cache': whichever pattern is matched first gives the correct answer.

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. > > T

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. Af

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 Htt

Re: character encoding of a HttpServletRequest

2010-01-11 Thread Jos Snellings
: > 2010/1/10 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. > requ

Re: character encoding of a HttpServletRequest

2010-01-11 Thread Jos Snellings
UTF-8 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 Snellings > This is not a specific cocoon issue, I belie

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: >

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: th

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 "&" ? 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 > thr

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 Jos On Sun, 2009-12-06 at 22:39 +0100, Johannes Lichtenberger wrote: > Well, it's maybe not really cocoon specific, but I use mvn je

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: 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: > > [

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 org.apache.cocoon.pipeline.ut

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

Re: REST / Can't find URLResponseBuilder

2009-11-29 Thread Jos Snellings
On Sun, 2009-11-29 at 13:19 +0100, Johannes Lichtenberger wrote: > On Sun, 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 > >

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? 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

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

2009-11-25 Thread Jos Snellings
cripts: Firebug > > I've seen this behavior for other tags as well... > > For instance with empty tags > > In that case subsequent tags are sometimes treated as children of the empty > preceding tag. > > > Kind regards, > Robby > > -Original M

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

2009-11-25 Thread Jos Snellings
. I haven't tested with other browsers. 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. >

Re: cocoon 3: xslt and pickup java scripts

2009-11-25 Thread Jos Snellings
: > Hi, > > 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

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 jav

  1   2   >