Re: cocoon 3 and Google appengine

2015-02-09 Thread Jos Snellings
...@yahoo.de wrote: what is a good place to upload a cocoon application? Am 09.02.2015 um 08:37 schrieb Jos Snellings: Hi, I remember having done some exploratory tests. They date back to 2010 so things might be different. I can confirm that there were problems at the time (cocoon was a nogo

Re: cocoon 3 and Google appengine

2015-02-08 Thread Jos Snellings
Hi, I remember having done some exploratory tests. They date back to 2010 so things might be different. I can confirm that there were problems at the time (cocoon was a nogo). The root cause seemed to be that certain basic classes are forbidden in AppEngine. AppEngine does not want you to take

[jira] [Commented] (COCOON3-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-07-19 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13713647#comment-13713647 ] Jos Snellings commented on COCOON3-126: --- True, so here is a solution that uses

[jira] [Updated] (COCOON3-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-07-19 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings updated COCOON3-126: -- Attachment: CachingXSLTTransformer.java The XLSTTransformer with internal LRU cache

[jira] [Updated] (COCOON3-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-07-19 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings updated COCOON3-126: -- Attachment: cocoon-sitemap-COCOON3-126-2.patch Changes to PrototypePipelineComponentFactory

[jira] [Updated] (COCOON3-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-07-19 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings updated COCOON3-126: -- Attachment: cocoon-sitemap-COCOON3-126-1.patch Make configurable whether xslt

Re: COCOON3-126, xslt cache

2013-07-06 Thread Jos Snellings
to have a look at your patch during the WE, so I can at least provide you more feedbacks. Have a nice day, all the best! -Simo http://people.apache.org/~simonetripodi/ http://twitter.com/simonetripodi On Tue, Jul 2, 2013 at 11:19 AM, Jos Snellings jos.snelli...@upperware.biz wrote: Hi

Re: [jira] [Commented] (COCOON3-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-07-03 Thread Jos Snellings
or not -- Key: COCOON3-126 URL: https://issues.apache.org/jira/browse/COCOON3-126 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-sax Affects Versions: 3.0.0-beta-1 Reporter: Jos Snellings Priority: Minor

Re: COCOON3-126, xslt cache

2013-07-02 Thread Jos Snellings
at least provide you more feedbacks. Have a nice day, all the best! -Simo http://people.apache.org/~simonetripodi/ http://twitter.com/simonetripodi On Tue, Jul 2, 2013 at 11:19 AM, Jos Snellings jos.snelli...@upperware.biz wrote: Hi Francesco et al, I proposed a patch for COCOON3-126

Re: COCOON3-126, xslt cache

2013-07-02 Thread Jos Snellings
Yet, as a Roman, you enjoy a different likelihood for sunny weather :-). Nonetheless, getting inspiration is very important! Jos On Tue, Jul 2, 2013 at 1:12 PM, Simone Tripodi simonetrip...@apache.orgwrote: We can work out a proposal during the weekend, (though it will be very nice

[jira] [Created] (COCOON3-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-06-24 Thread Jos Snellings (JIRA)
Jos Snellings created COCOON3-126: - Summary: Make configurable whether xslt transformer component uses LRU cache or not Key: COCOON3-126 URL: https://issues.apache.org/jira/browse/COCOON3-126 Project

[jira] [Updated] (COCOON3-126) Make configurable whether xslt transformer component uses LRU cache or not

2013-06-24 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings updated COCOON3-126: -- Attachment: cocoon3-126.patch Patch solving the issue from xslt transformer alone. Not too

Use LRU cache

2013-06-24 Thread Jos Snellings
Hi, Just reported the issue and proposed a patch, though I am not very happy with it. + : it intervenes only in cocoon-sax - : it introduces a new dependency (on spring). Question: would it be better to decide in cocoon-sitemap if an LRU cache is used? The constructor would have an extra

Re: Getting Exception.getMessage in map:handle-errors

2013-04-17 Thread Jos Snellings
Hi Ivan, Please try : jexl:cocoon.exception.messsage I don't have my cocoon environment handy here, but odds are good that it works. Jos On Wed, Apr 17, 2013 at 5:35 PM, Ivan Lagunov lagi...@gmail.com wrote: Hello, ** ** Is it possible to access fields of the thrown Exception inside

Re: [DISCUSS] Fix for COCOON3-105

2012-12-07 Thread Jos Snellings
In shorthand: What are the implications then? Bottomline: - a block context is addressable within the sitemap load resource from another block context is possible via 'classpath'. The root of every block is available on the classpath? - different web applications relying on cocoon3 can deploy

Re: avalon version

2012-10-22 Thread Jos Snellings
at 9:11 AM, Francesco Chicchiriccò ilgro...@apache.org wrote: On 22/10/2012 07:50, Jos Snellings wrote: Dear cocooners, Since today, it is not possible to package cocoon 3 apps via maven anymore. Build is requesting: org.apache.avalon.framework:avalon-framework-api:jar:4.2.0

Re: avalon version

2012-10-22 Thread Jos Snellings
All OK! Maven got confused over fop dependencies. After removing a few frameworks from the repositories it finds its way back. All builds well now. Thanks Francesco, Jos On Mon, Oct 22, 2012 at 9:11 AM, Francesco Chicchiriccò ilgro...@apache.org wrote: On 22/10/2012 07:50, Jos Snellings

avalon version

2012-10-21 Thread Jos Snellings
Dear cocooners, Since today, it is not possible to package cocoon 3 apps via maven anymore. Build is requesting: org.apache.avalon.framework:avalon-framework-api:jar:4.2.0 as well as its implementation. Who still needs avalon? - jnet - fop - ... are there others? Latest version of Avalon I

Re: Cocoon Get Together on ACEU 2012 Sinsheim (was Re: Cocoon presentation link and questions about new contributions)

2012-10-13 Thread Jos Snellings
Hi all, I can think of only one real show stopper: the multiple web application deployment issue (block reference/name ambiguity). Are there any others? Kind regards, Jos On Fri, Oct 12, 2012 at 2:14 PM, Francesco Chicchiriccò ilgro...@apache.org wrote: On 11/10/2012 11:08, Thorsten Scherler

Re: blockcontext protocol (part 2) (was Re: [jira] [Created] (COCOON3-107) ...)

2012-09-28 Thread Jos Snellings
it is an important issue and I would love to see it solved, as I have myself two cocoon apps that I would like to deploy to one server. Kind regards, Jos On Fri, Sep 28, 2012 at 2:29 PM, Thorsten Scherler scher...@gmail.comwrote: On 09/28/2012 07:24 AM, Jos Snellings wrote: Dear all, Noticing

Re: blockcontext protocol (part 2) (was Re: [jira] [Created] (COCOON3-107) ...)

2012-09-27 Thread Jos Snellings
Dear all, Noticing that is very interesting discussion is getting silent, I'd like to ask a question. First of all, pardon me my ignorance. (blonde, can't help it). So from just a high-level understanding, can I rephrase the problem? What we seek to accomplish is: * in a sitemap, being able to

COCOON3-103

2012-09-25 Thread Jos Snellings
Yesterday, I had a closer look upon COCOON3-103. Here is a better restatement of the problem: The ObjectModel keeps hold of the sitemap parameters and other variables. In SitemapParametersStack, a series of parameters is pushed upon the stack - whenever a 'pattern match ' occurs (map:match

Re: COCOON3-103

2012-09-25 Thread Jos Snellings
: Hi Jos 2012/9/25 Jos Snellings jos.snelli...@upperware.biz Yesterday, I had a closer look upon COCOON3-103. Here is a better restatement of the problem: The ObjectModel keeps hold of the sitemap parameters and other variables. In SitemapParametersStack, a series of parameters is pushed upon

{../parameter}

2012-09-25 Thread Jos Snellings
Dear, Just did a test and saw that: parameters in relative path notation get translated as: map match=selecttest/{parameter1} map select ... map:when equals=one map ... map:transform src=testpage.xsl map:parameter name=parameter1 value={../map:parameter1}/ /map:transform

Re: {../parameter}

2012-09-25 Thread Jos Snellings
Sorry, I want to revoke this message. (my error ;-) On Tue, Sep 25, 2012 at 1:45 PM, Jos Snellings jos.snelli...@upperware.bizwrote: Dear, Just did a test and saw that: parameters in relative path notation get translated as: map match=selecttest/{parameter1} map select ... map:when

[jira] [Closed] (COCOON3-103) Cannot pass map:parameter's to components inside of a map:select

2012-09-25 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings closed COCOON3-103. - Resolution: Not A Problem Within nested blocks, sitemap parameters should be referred

map:mount

2012-09-25 Thread Jos Snellings
Dear all, Considering the upgrade cost of an existing project to cocoon-3, I have the following question: what happened to map:mount? As in: map:match pattern=** map:mount src=residuary-treatment.xmap check-reload=no uri-prefix= / /map It was a handy modularity mechanism to reduce

Re: map:mount

2012-09-25 Thread Jos Snellings
there is a production site with Apache Cocoon 3: http://thesaurus.european-heritage.net That is the one that I created. is there another one? Kind regards, Jos On Tue, Sep 25, 2012 at 3:58 PM, Javier Puerto jav...@apache.org wrote: Hi Jos 2012/9/25 Jos Snellings jos.snelli...@upperware.biz Dear

Re: map:mount

2012-09-25 Thread Jos Snellings
Yes, please! On Tue, Sep 25, 2012 at 4:07 PM, Francesco Chicchiriccò ilgro...@apache.org wrote: On 25/09/2012 16:05, Jos Snellings wrote: Hi Javier, Thank you, this is clear. 1. I agree with the fact that the blocks mechanism (SSF) is more modular than mounting submaps. 2. That been

[jira] [Created] (COCOON3-106) Add cocoon site

2012-09-25 Thread Jos Snellings (JIRA)
Jos Snellings created COCOON3-106: - Summary: Add cocoon site Key: COCOON3-106 URL: https://issues.apache.org/jira/browse/COCOON3-106 Project: Cocoon 3 Issue Type: Wish Components

Re: map:mount

2012-09-25 Thread Jos Snellings
Thanks Francesco, I added the link. Issue COCOON3-106 (wish). Cheers, Jos On Tue, Sep 25, 2012 at 4:14 PM, Francesco Chicchiriccò ilgro...@apache.org wrote: On 25/09/2012 16:11, Jos Snellings wrote: Yes, please! Easy: just create an issue and attach a patch (an additional li.../li

[jira] [Updated] (COCOON3-106) Add cocoon site

2012-09-25 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings updated COCOON3-106: -- Attachment: herein.patch just additional li Add cocoon site

[jira] [Updated] (COCOON3-106) Add cocoon site

2012-09-25 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings updated COCOON3-106: -- Attachment: herein.patch I am sorry, this must be a mistake ;-0 On Tue, Sep 25, 2012 at 4

Re: [jira] [Commented] (COCOON3-105) webapp fails if on the same servlet container is a c2.2.1 or other c3 webapp running

2012-09-16 Thread Jos Snellings
Hi Thorsten, I believe having encountered this problem once. However, it is not systematic. Jos On Mon, Sep 17, 2012 at 12:06 AM, Thorsten Scherler (JIRA) j...@apache.orgwrote: [

[jira] [Created] (COCOON3-103) Cannot pass map:parameter's to components inside of a map:select

2012-08-29 Thread Jos Snellings (JIRA)
Jos Snellings created COCOON3-103: - Summary: Cannot pass map:parameter's to components inside of a map:select Key: COCOON3-103 URL: https://issues.apache.org/jira/browse/COCOON3-103 Project: Cocoon

Re: svn commit: r1337109 - /cocoon/cocoon3/trunk/cocoon-shiro-sample/src/main/resources/META-INF/cocoon/spring/block-application-context.xml

2012-05-11 Thread Jos Snellings
I wish that would be real soon. I have a C3 application live. Based on my best judgement, I decided that the beta version was stable enough. Last winter I was bad-mouthed by some colleagues for having done this. Jos On Fri, May 11, 2012 at 9:04 PM, Michael Müller

COCOON3-99: cross-cultural issue

2012-05-10 Thread Jos Snellings
Dear cocooners, COCOON3-99 is about applying a user configuration to FopFactory in FopSerializer. To pass the location of the configuration file in a nice and portable way, it is addressed in the jar: configurationUrl = this.getClass().getResource(/COB-INF/ + userConfigurationPath); Fine, but I

userconfig for FOP in Cocoon3

2012-05-08 Thread Jos Snellings
= cfgBuilder.build(configurationURL.openStream()); FOP_FACTORY.setUserConfig(cfg); this.outputFormat = outputFormat; } This way, we can package our custom configuration and the font in the block jar. Kind regards, Jos Snellings -- The doctrine of human equality reposes

Re: userconfig for FOP in Cocoon3

2012-05-08 Thread Jos Snellings
ilgro...@apache.orgwrote: On 08/05/2012 09:48, Jos Snellings wrote: Dear cocooners, We use FOP to generate a PDF publication of a thesaurus. Needing cyrillic greek we have to setup a user configuration. This is not yet foreseen in the current FOPSerializer. Yesterday Robby and Ivan were

[jira] [Created] (COCOON3-99) Provide FopSerializer with an embedded user configuration present in the cocoon block

2012-05-08 Thread Jos Snellings (JIRA)
Jos Snellings created COCOON3-99: Summary: Provide FopSerializer with an embedded user configuration present in the cocoon block Key: COCOON3-99 URL: https://issues.apache.org/jira/browse/COCOON3-99

[jira] [Updated] (COCOON3-99) Provide FopSerializer with an embedded user configuration present in the cocoon block

2012-05-08 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings updated COCOON3-99: - Attachment: patch-fopserializer.txt A patch for adding the user configuration to the fop

patch

2012-05-08 Thread Jos Snellings
Hi Francesco, I opened issue COCOON3-99 and added a patch. (I hope I did it right). Ciao, Jos -- The doctrine of human equality reposes on this: that there is no man really clever who has not found that he is stupid. -- Gilbert K. Chesterson

Re: [c3] XincludeTransformer.java weirdness

2012-01-19 Thread Jos Snellings
Hi Thorsten, They are under generated-sources/javacc/org/apache/cocoon/sax/xpointer/ParseException.java Apparently the java is only generated at build time. Don't know details (pom.xml has javacc-maven-plugin). Jos On 01/19/2012 10:56 AM, Thorsten Scherler wrote: Hi all, in

Re: Porting to current cocoon version

2012-01-16 Thread Jos Snellings
Dear mr. Eisert, 1. I believe it does. I am using the beta version in a preproduction environment for quite some time and it is stable. 2. It depends on what you mean by configuration. The sitemap will need some slight adaptations. Specifics from cocoon 2.2 will no longer hold. - no

Re: Porting to current cocoon version

2012-01-16 Thread Jos Snellings
not recommended? Wolfram 2012/1/16 Jos Snellings jos.snelli...@pandora.be mailto:jos.snelli...@pandora.be Dear mr. Eisert, 1. I believe it does. I am using the beta version in a preproduction environment for quite some time and it is stable. 2. It depends on what you mean

Re: Porting to current cocoon version

2012-01-16 Thread Jos Snellings
HI again, Wolfram, It is not a string template script AND a generator. It is rather 'either'. If you make a list with all the data modifying operations that the application offers, how many would that be? - Let us call them commands. They would go into a cocoon controller. (Or two, or three).

Re: where is org.apache.cocoon.components?

2012-01-06 Thread Jos Snellings
://www.99soft.org/ On Fri, Jan 6, 2012 at 8:16 AM, Jos Snellings jos.snelli...@upperware.biz wrote: 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

where is org.apache.cocoon.components?

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

revoke where is org.apache.cocoon.components

2012-01-05 Thread Jos Snellings
Dear Cocooners, Sorry, sent message in title in haste; answering my own question: /org/apache/cocoon/cocoon-serializers-charsets/1.0.0 As side module it does not come with the distribution when getting the source code, that is why I did not see it. Cheers, Jos

dependency

2011-11-07 Thread Jos Snellings
Hi ! Just glancing through recent evolutions in cocoon 3. When building a block, based upon the sample, I notice a dependency: - avalon-framework-api - avalon-framework implementation Just curious: what does it come from?What needs it? I am running an application with minimum dependencies.

Re: status c3

2011-11-02 Thread Jos Snellings
True, Simone, I am delighted to find a renewed activity these days! Projects that stem from the archetypes show: 1. dependency from cocoon parent, but path is relative. I would like to avoid that 2. they are configured with the plugin for the 'reloading class loader', fine when developing,

status c3

2011-11-01 Thread Jos Snellings
Hi everybody, What is the current status of cocoon-3? - I notice that the archetypes in the trunk are still on alpha-3, whereas, - most of the artifacts have shifted to beta-1? Here is the news: - I have been using what I could call c3 core for quite some time now ( 1y) no complaints

Re: [C3] Passing parameters from sitemap to generator

2011-07-01 Thread Jos Snellings
Hi, Maybe the Generator is sufficient? To pass parameters from the sitemap is not it is not a big deal. What sort of parameters do you want? Parts of the path? controlStuff{tat}/{tit}/{tot} request parameters? Kind regards, Jos On 07/01/2011 10:33 AM, Thomas Markus wrote: Hi, JXGenerator is

Re: Latest on Cocoon?

2010-12-17 Thread Jos Snellings
Will turn out well, I guess! I have a cocoon 3 application running with happy users. The core is not so like to undergo dramatic changes. What is evolving a bit is 'goodies' and 'integration'. What I like very much is that unnecessary dependencies have been removed. Also the separation between

Re: [C3] Pipeline DSL

2010-12-07 Thread Jos Snellings
Good point. I would say: everything you need and even more is there! For people who were familiar with 2.2 or who want to port their application: they are going to miss flowscript. For people who lost contact in version 2.1 or so, they will probably be missing xsp as a presentation scripting,

Cocoon 3: the three sisters as OSGi bundles?

2010-06-24 Thread Jos Snellings
Dear all, Some weeks ago, I was coding a servlet in an OSGi context (apache felix/sling). In the process, of course, I wanted to use the triplet cocoon-pipeline, cocoon-sax, cocoon-xml, which as a result of the design goals of Cocoon 3, can be used without further dependencies. A wise thing !

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

2010-03-09 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12842957#action_12842957 ] Jos Snellings commented on COCOON3-53: -- - No, I cannot say your test is wrong

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

2010-03-09 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12842967#action_12842967 ] Jos Snellings commented on COCOON3-53: -- Cocoon 3, checked out from SVN on 5 march

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

2010-03-09 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12843037#action_12843037 ] Jos Snellings commented on COCOON3-53: -- ParameterCacheKey, constructed

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

2010-03-09 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings closed COCOON3-53. Resolution: Fixed The observed problem was due to using a SimpleCacheKey. It remains a strange

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

2010-03-09 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12842997#action_12842997 ] Jos Snellings commented on COCOON3-53: -- Yes, I thought about that, SimpleCacheKey

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

2010-03-08 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12842613#action_12842613 ] Jos Snellings commented on COCOON3-53: -- This is only true for CachingPipeline

[jira] Created: (COCOON-2287) Cocoon 3: XMLSerializer caches all

2010-03-06 Thread Jos Snellings (JIRA)
Cocoon 3: XMLSerializer caches all -- Key: COCOON-2287 URL: https://issues.apache.org/jira/browse/COCOON-2287 Project: Cocoon Issue Type: Bug Components: * Cocoon Core Reporter: Jos

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

2010-03-03 Thread Jos Snellings
Hi, Maybe you mean: generate type=xsp src=intro.xsp/ an xsp page is a special variant of a jsp page. As far as I know, plain jsp does not fit in cocoon. Cheers On Wed, 2010-03-03 at 12:25 +0530, Venura Kahawala wrote: Hi, For cocoon 2.2, with maven, I have this pipeline in my

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

2010-03-03 Thread Jos Snellings
Hi again, I am sorry. xsp does not exist anymore from 2.2. My mistake. I responded in haste. Jos On Wed, 2010-03-03 at 09:21 +0100, Jos Snellings wrote: Hi, Maybe you mean: generate type=xsp src=intro.xsp/ an xsp page is a special variant of a jsp page. As far as I know, plain jsp

[jira] Updated: (COCOON3-46) URLConnectionUtils.closeQuietly() complains loudly if servletConnection == null

2009-12-08 Thread Jos Snellings (JIRA)
[ https://issues.apache.org/jira/browse/COCOON3-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jos Snellings updated COCOON3-46: - Attachment: closeQuietly-fix.patch URLConnectionUtils.closeQuietly() complains loudly

Re: closeLoudly()

2009-12-08 Thread Jos Snellings
OK, I attached the patch to the issue. I guess that is the right way. Thanks for mentioning. Jos

Re: closeLoudly()

2009-12-05 Thread Jos Snellings
: svn diff -x -u Main.java arg-fix.patch giving your patch file meaningful name. Goof job! Simo On Sat, Dec 5, 2009 at 8:29 AM, Jos Snellings jos.snelli...@pandora.be wrote: URLResponse.java: Modifying the finally-clause to remain silent: finally

[jira] Created: (COCOON3-46) URLConnectionUtils.closeQuietly() complains loudly if servletConnection == null

2009-12-05 Thread Jos Snellings (JIRA)
Issue Type: Improvement Components: cocoon-pipeline Affects Versions: 3.0.0-alpha-2 Reporter: Jos Snellings Assignee: Cocoon Developers Team Priority: Minor Fix For: 3.0.0-alpha-3 finally clause in URLResponse method execute

Re: closeLoudly()

2009-12-05 Thread Jos Snellings
I attached the patch. Is this the proper way to submit? Thanks, and please excuse me my ignorance. It is the first time. (first times can be traumatic, so far I am feeling well). Jos On Sat, 2009-12-05 at 09:28 +0100, Jos Snellings wrote: Thank you, Simone. I will do that. On Sat, 2009-12-05

Re: [jira] Commented: (COCOON3-46) URLConnectionUtils.closeQuietly() complains loudly if servletConnection == null

2009-12-05 Thread Jos Snellings
: COCOON3-46 URL: https://issues.apache.org/jira/browse/COCOON3-46 Project: Cocoon 3 Issue Type: Improvement Components: cocoon-pipeline Affects Versions: 3.0.0-alpha-2 Reporter: Jos Snellings Assignee: Cocoon

Re: Cocoon documentation

2009-12-04 Thread Jos Snellings
On Fri, 2009-12-04 at 10:15 +0100, Reinhard Pötz wrote: Matt Whipple wrote: Reinhard Pötz wrote: Matt Whipple wrote: Jos Snellings wrote: The documentation of cocoon-3 can be checked out as: svn co http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-docs

Re: Cocoon documentation

2009-12-04 Thread Jos Snellings
What editor do you use?. (I mostly use XMLMind) On Fri, 2009-12-04 at 12:09 +0100, Reinhard Pötz wrote: Jos Snellings wrote: Currently there is an initialisation problem. Anyway, Reinhard, you had a great table of contents. That is a good way to get started: what nodes are missing

closeLoudly()

2009-12-04 Thread Jos Snellings
URLResponse.java: Modifying the finally-clause to remain silent: finally { if (servletConnection != null) URLConnectionUtils.closeQuietly(servletConnection); } Jos

Re: Initialization of variables

2009-12-03 Thread Jos Snellings
Hi Johannes, I must say, I do not completely understand your point. Talking about such things as 'transactions': you could setup in the system what needs to be setup once in a separate class. Below is an example from the real world where database connections are set up in a separate spring bean:

Re: Cocoon documentation

2009-12-01 Thread Jos Snellings
Yes, that would be it... agreed. On Tue, 2009-12-01 at 06:23 -0500, Matt Whipple wrote: Jos Snellings wrote: The documentation of cocoon-3 can be checked out as: svn co http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-docs\ I stumbled upon the HTML deliverable

Re: Cocoon documentation

2009-11-30 Thread Jos Snellings
The documentation of cocoon-3 can be checked out as: svn co http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-docs The cocoon community will be delighted at some good documentation. Talking about community I fear such as an active community is to be reestablished, so I think we'd better

Re: REST / Can't find URLResponseBuilder

2009-11-28 Thread Jos Snellings
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 points to a resource - the controller decodes what the

StringTemplateGenerator

2009-11-27 Thread Jos Snellings
Dear, Just a small question, testing: When I get: java.lang.NullPointerException at org.apache.cocoon.stringtemplate.StringTemplateGenerator.constructCacheKey(StringTemplateGenerator.java:75) I notice that StringTemplateGenerator has two constructors: one with a 'source' argument, and

Re: REST / Can't find URLResponseBuilder

2009-11-27 Thread Jos Snellings
org.apache.cocoon.rest.jaxrs.response.URLResponseBuilder.java What version do you have in your project pom? It should be alpha 2 I guess. Or build it from the svn trunk, svn co http://svn.apache.org/repos/asf/cocoon/cocoon3 It is now a bit hard to keep everything consistent, as there are still

Re: REST / own Generator

2009-11-24 Thread Jos Snellings
Hi Johannes, Supposing your url is :gearth/parameter1?rp=parameter2 Get a sitemap parameter: match=gearth/{mGearth} controller:call controller=rest-controller select=myclass map:parameter name=mGearth value={map:mGearth}/ /controller:call In your controller code you can declare a

Re: XInclude optimization

2009-11-22 Thread Jos Snellings
Hmmm, I guess the XPath expression is known before the parsing begins? I remember I have done a similar thing, where a chunk had to be isolated from a document that came by via a SAX stream, but here the xpath expression was something like: /element1/elemen...@id=somenumber]. Theorem: any XPath

Re: changes to maven archetypes, alpha1 - alpha2

2009-11-20 Thread Jos Snellings
? Cheers, Jos On Fri, 2009-11-20 at 10:10 +0100, Reinhard Pötz wrote: Jos Snellings wrote: With pleasure. By the way, I am starting to write a prototype for an application with the latest version. Yes, I am willing to take due changes in available classes. Here's a question

Re: changes to maven archetypes, alpha1 - alpha2

2009-11-19 Thread Jos Snellings
pleased with the direction cocoon-3 took. It would be nice to have 3.0.0 out early 2009. Cheers, Jos On Wed, 2009-11-18 at 16:49 +0100, Reinhard Pötz wrote: Jos Snellings wrote: DemoRESTController: import org.apache.cocoon.rest.controller.response.Page; must be replaced

changes to maven archetypes, alpha1 - alpha2

2009-11-17 Thread Jos Snellings
DemoRESTController: import org.apache.cocoon.rest.controller.response.Page; must be replaced by org.apache.cocoon.rest.controller.response.URLResponse; TimeStampGenerator: import org.apache.cocoon.pipeline.component.sax.AbstractGenerator; import

URLStreamHandler

2009-09-03 Thread Jos Snellings
Hi, I am currently looking if a minimal cocoon distribution could be deployed under Google AppEngine. Unfortunately, java.net.URLStreamHandler is not on the whitelist. Any idea how 'hard' it would be to lift this dependency (java.net.URL and URLConnection can be used)? I guess GAE just wants to

Re: [c3] auth

2009-08-20 Thread Jos Snellings
Hi, I coded the functionality of an 'auth' block with: - an action authenticate, which inserts the valid user in the HttpSession - a custom 'AuthenticationException when login fails A candidate was 'RESTController'. However, it seems that the setup method of a controller is never called. How

Re: [c3] auth

2009-08-18 Thread Jos Snellings
within the cocoon philosophy, thereby avoiding to insert permission checks into the data access layer. What do you think? Kind regards, Jos Snellings On Fri, 2009-08-14 at 18:01 +0200, Reinhard Pötz wrote: Jos Snellings wrote: Dear, In cocoon 3 I do not find back the auth mechanism

auth

2009-08-13 Thread Jos Snellings
unability to find it at first glance? Best, Jos Snellings