cocoon-3.0 : request and sitemap parameters

2009-06-10 Thread Jos Snellings
overlook it. Any suggestions? Thank you so much, Jos Snellings - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

classpath elements ...

2009-08-31 Thread Jos Snellings
Hi, The documentation is a little unclear here: are CLASSPATH_SPRING_CONFIGURATION_LOCATION (classpath*:META-INF/cocoon/spring) GLOBAL_PROPERTIES_LOCATION(/WEB-INF/cocoon/properties) GLOBAL_SPRING_CONFIGURATION_LOCATION(/WEB-INF/cocoon/spring) configurable? This could be necessary

settings.properties: no me gusta.

2009-09-01 Thread Jos Snellings
Hi, Quick question: According to http://cocoon.apache.org/subprojects/configuration/1.0/spring-configurator/2.0/1310_1_1.html the spring configurator looks in different places for properties files. How can I restrain the spring configurator from looking in place 7,

Re: xml2pgsql with cocoon?

2009-09-07 Thread Jos Snellings
Hello Mika, In your description you mention a maintenance task: data uploading and conversion: you need to parse XML data and insert extracted entities (polygons, ids) in a database. You do not need cocoon to do that. I would use SAX and simply JDBC. How do you represent your GIS-data for the

Re: Starting out with Cocoon 2.2

2009-09-10 Thread Jos Snellings
Hi, Recognizing the feeling of disconcertation when after having worked with Cocoon 2.1 one comes back and finds out about Cocoon 2.2. - many things have changed, (striving towards MVC paradigm) which is OK, if things are improving - Cocoon still depends on Avalon (which caused me troubles in

Re: accessing java tier functionality in Cocoon

2009-09-29 Thread Jos Snellings
Hi Paul, Classes that live in a Cocoon environment will typically send their output via SAX events. They would take a ContentHandler or XMLConsumer as a parameter and call startElement/endElement/characters. There might exist an insulation layer between the SAX-world and the objects properly.

Re: accessing java tier functionality in Cocoon

2009-09-29 Thread Jos Snellings
universalizing your business model. On Tue, 2009-09-29 at 09:31 -0400, Paul Joseph wrote: Thank Jos...I follow the general concept...would you know of any example that I could take a look at? thx. Paul Jos Snellings wrote: Hi Paul, Classes that live in a Cocoon environment

Re: accessing java tier functionality in Cocoon

2009-09-29 Thread Jos Snellings
environment for the ASP app) are different. How, in the example you kindly provided below, would I call the new method that returns the array ie. public void searchTerms(ContentHandler ch, byte[] nb, String language, String smode, boolean nonpreferred) thx. Paul Jos Snellings wrote: Here

Re: Looking For Apache Cocoon Developer/Contractor

2009-10-05 Thread Jos Snellings
Hi, My name is Jos Snellings, self employed, experienced in cocoon. I may be interested to perform this work. Please can you provide details? Jos Snellings Upperware bvba On Fri, 2009-10-02 at 21:26 -0400, mrb...@mail.com wrote: Wanted: Experienced Cocoon Developer, Contractor Please

REVOKE: Looking For Apache Cocoon Developer/Contractor

2009-10-05 Thread Jos Snellings
Dear group, previous message is revoked. Please accept my apologies. On Mon, 2009-10-05 at 08:51 +0200, Jos Snellings wrote: Hi, My name is Jos Snellings, self employed, experienced in cocoon. I may be interested to perform this work. Please can you provide details? Jos Snellings

Re: Google App Engine

2009-10-19 Thread Jos Snellings
Good point. I have been isolating Cocoon a couple of months ago. and need to get that one out of the fridge. The exercise proved not straigtforward. I will keep you informed. Jos On Mon, 2009-10-19 at 15:33 +0200, Jean-Claude Moissinac wrote: I'm searching of advises about using Cocoon with

Re: cocoon 2.1 as WSRP producer?

2009-10-29 Thread Jos Snellings
Mmm, do you need all of the spec? validation caching? authentication? What do you really need? Jos On Thu, 2009-10-29 at 10:29 +, Paul Adriaenssens wrote: Hi, We have already read the documentation, but it only speaks about consuming WSRP portlets. We want to integrate our Cocoon

cocoon3 block deployment

2009-11-07 Thread Jos Snellings
Hi, When trying to deploy a cocoon-3 block to Tomcat, it does not seem to find it: java.lang.RuntimeException: There is no block 'YourBlockName' deployed. The available blocks are {}. I must say that the documentation on this issue is a little bit terse...

Re: cocoon3 block deployment

2009-11-10 Thread Jos Snellings
-INF/classes, so that we have: WEB-INF/classes/COB-INF WEB-INF/classes/META-INF it should be found, no? Jos On Tue, 2009-11-10 at 14:48 +0100, Reinhard Pötz wrote: Jos Snellings wrote: Hi, When trying to deploy a cocoon-3 block to Tomcat, it does not seem to find

Re: cocoon3 block deployment

2009-11-10 Thread Jos Snellings
Yet something is missing, logging at debuglevel: At startup, none of the methods in DeploymentUtil is ever called :-( When a block's url is called it is not found: 2009-11-10 15:37:10,139 DEBUG main org.apache.jasper.servlet.JspServlet - Scratch dir for the JSP engine is:

Re: cocoon3 block deployment

2009-11-11 Thread Jos Snellings
- this is the block spring-web-2.5.5.jar Are these not the dependencies mentioned in the pom file? On Wed, 2009-11-11 at 08:47 +0100, Reinhard Pötz wrote: Jos Snellings wrote: Thank you for the answer, Rheinhard, I am afraid it does not. The web.xml I am using is from the cocoon sample

Re: cocoon3 block deployment

2009-11-11 Thread Jos Snellings
On Wed, 2009-11-11 at 09:42 +0100, Reinhard Pötz wrote: Have you also tried to use Cocoon 3 trunk to build and run your application? Jos Snellings wrote: antlr-2.7.7.jar cocoon-configuration-api-1.0.2.jar cocoon-servlet-3.0.0-alpha-1.jar commons-collections-3.2

Re: cocoon3 block deployment

2009-11-11 Thread Jos Snellings
Are jnet and block-deployment servlet-service likely to change for 3.0? I think not. Is cocoon-configuration needed? Thanks, Jos - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands,

org.apache.cocoon.xml.sax.SAXBuffer

2009-11-13 Thread Jos Snellings
Hi, Where is org.apache.cocoon.xml.sax.SAXBuffer to be found? I cannot find it in the trunk. The class is used in ServletServiceTransformer. Was it refactored from org.apache.cocoon.pipeline.util ? Thanks, Jos - To

Re: org.apache.cocoon.xml.sax.SAXBuffer

2009-11-13 Thread Jos Snellings
Excuse me, it is in cocoon-xml-2.0.0.jar my question is: where is the source code? Is there a project on svn.apache.org/repos/asf/cocoon ? Thank you so much, Jos On Fri, 2009-11-13 at 09:54 +0100, Jos Snellings wrote: Hi, Where is org.apache.cocoon.xml.sax.SAXBuffer to be found? I

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

Re: cocoon3 block deployment

2009-11-17 Thread Jos Snellings
Pötz wrote: Jos Snellings wrote: 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  1   2   >