how-to create a form widget instance from within java

2009-09-16 Thread Robby Pelssers
not work? And perhaps give me any clues on how to create a Form instance in java? Ps... I also tried with a hardcoded URI http://localhost:/parametricsearch/formdefinition but that did not work as well. Thx in advance, Robby Pelssers

RE: how-to create a form widget instance from within java

2009-09-16 Thread Robby Pelssers
Ok... that is one is clear now. Apparently the servlet is not running at the time the spring root webapplicationcontext is being initialized so that makes sense that I get a connection refused exception ;-) Robby From: Robby Pelssers [mailto:robby.pelss...@ciber.com] Sent: Wednesday

RE: Cocoon 2.2 / Cocoon forms repeater problem

2009-09-15 Thread Robby Pelssers
forms repeater problem Robby, thanks for sharing this knowledge! It's much appreciated! Regards, Jeroen Robby Pelssers wrote: Solved ;-) ft:widget id=/properties/ should become ft:repeater id=/properties/ Cheers, Robby *From:* Robby Pelssers [mailto:robby.pelss

cocoon.forms is undefined when using submit-on-change=true for Field Widget

2009-09-15 Thread Robby Pelssers
some insight as to what could be wrong This would be mostly appreciated. Thx in advance, Robby Pelssers Below relevant snippets: Formdefinition: ?xml version=1.0 encoding=UTF-8? fd:form xmlns:fd=http://apache.org/cocoon/forms/1.0#definition; fd:widgets fd:repeater id

RE: cocoon.forms is undefined when using submit-on-change=true for Field Widget

2009-09-15 Thread Robby Pelssers
request to ${modulePath}/${js-libraryname}.js - /cocoon-forms-impl/resource/external/forms/js/common.js Well, if it does it still does not explain why cocoon.forms is undefined. Cheers, Robby From: Robby Pelssers [mailto:robby.pelss...@ciber.com] Sent: Tuesday, September 15, 2009

Error in documentation of Cocoon forms Union widget

2009-09-15 Thread Robby Pelssers
/ /fd:field /fd:group fd:group id=case2 fd:field id=field1 fd:datatype base=long/ /fd:field fd:field id=field2 fd:datatype base=long/ /fd:field /fd:group /fd:widgets /fd:union Cheers, Robby Pelssers

RE: cocoon.forms is undefined when using submit-on-change=true for Field Widget

2009-09-15 Thread Robby Pelssers
map:parameter name=dojo-resources value={servlet:ajax:/resource/external/dojo}/ map:parameter name=forms-resources value={servlet:forms:/resource/external/forms}/ /map:transform map:serialize type=html / /map:match From: Robby Pelssers

RE: REPOST: Queries in Cocoon 2.1.11 not working with ASprotocol?

2009-09-14 Thread Robby Pelssers
Not sure if this is important to mention but whenever you port a cocoon application from windows to unix... you'll bound to see exceptions like * FileNotFoundException * table not Found exception All this due to casesensitivity on unix systems... If this is related to this problem I don't

RE: REPOST: Queries in Cocoon 2.1.11 not working withASprotocol?

2009-09-14 Thread Robby Pelssers
these kinds of mistakes quickly if you keep this in mind. My advise is to use consistently lowercase for your tables/columns so you'll never run into these issues. Cheers. Robby Pelssers -Original Message- From: Derek Hohls [mailto:dho...@csir.co.za] Sent: Monday, September 14, 2009 10:35

RE: Starting out with Cocoon 2.2

2009-09-10 Thread Robby Pelssers
back. Whereas I used flowscript very heavily in the past, I'm tending towards java based solutions more and more and Cocoon3.0 sounds promising with it's REST-controllers. Wondering if there is a date ahead for a first release candidate? ;-) Cheers, Robby Pelssers -Original Message

RE: how-to query an xml repository efficiently

2009-09-08 Thread Robby Pelssers
. Next to DASK I know there are also XML databases that can use XQueries to perform fast searches on their XML database. Regards, Jeroen Robby Pelssers wrote: Hi all, I have following use case. The customer has an xml repository which is nothing more then a directory on filesystem which

RE: how-to query an xml repository efficiently

2009-09-08 Thread Robby Pelssers
was looking a some Forrest components [1], which were made for using SOLR from a cocooon point of view. It helps you to perform queries to a SOLR instance from your sitemap and get XML response back. Regards, Jeroen [1]http://wiki.apache.org/solr/SolrForrest Robby Pelssers wrote: Hi jeroen

RE: how-to query an xml repository efficiently

2009-09-08 Thread Robby Pelssers
-Original Message- From: Robby Pelssers [mailto:robby.pelss...@ciber.com] Sent: Tuesday, September 08, 2009 11:13 AM To: users@cocoon.apache.org Subject: RE: how-to query an xml repository efficiently You all convinced me to investigate the SOLR path further ;-) I already installed SOLR

how-to query an xml repository efficiently

2009-09-07 Thread Robby Pelssers
, Robby Pelssers

adding expires headers with cocoon

2009-08-07 Thread Robby Pelssers
/documentation of how to accomplish this? And by the way... anyone who has experience with configuring ETags?? Thx in advance, Robby Pelssers

ERROR: multiple namespaces declared on same html element (when using formstransformer ??)

2009-08-07 Thread Robby Pelssers
Hi all, When running my cocoon Block on jetty (mvn jetty:run) everything runs just fine.When deploying to tomcat I get this strange problem that the jx namespace get's declared multiple times on the html root. I must say I upgraded to Saxon 9.1.0.7 and I declared 2 dependencies in my

RE: redirect output to filesystem

2009-07-29 Thread Robby Pelssers
Not sure ... but can't you just use the source-write transformer? Robby -Original Message- From: Chris Gow [mailto:c...@commsolv.com] Sent: Tuesday, July 28, 2009 5:45 PM To: users@cocoon.apache.org Subject: redirect output to filesystem Hi: I'm trying to figure out if it is possible

doctype declaration is removed by source-write transformer

2009-07-24 Thread Robby Pelssers
Hi guys, I configured a xml serializer which outputs a doctype: map:serializer logger=sitemap.serializer.xml mime-type=text/xml name=division src=org.apache.cocoon.serialization.XMLSerializer

RE: clueless newbie attempting Saxon, xslt2

2009-07-23 Thread Robby Pelssers
: Robby Pelssers [mailto:robby.pelss...@ciber.com] Sent: Thursday, July 23, 2009 9:57 AM To: users@cocoon.apache.org Subject: RE: clueless newbie attempting Saxon, xslt2 Hi Michael, I attached 2 screenshots of documentation I wrote for myself. (for Cocoon2.2) If you read both you should understand

RE: retrieving requested filename in XSL

2009-07-22 Thread Robby Pelssers
filename in your xslt. Cheers, Robby Pelssers -Original Message- From: Jean-Bonneau [mailto:rg1...@gmail.com] Sent: Wednesday, July 22, 2009 11:51 AM To: users@cocoon.apache.org Subject: retrieving requested filename in XSL Hello, I want to ouput the filename requested in the URL in an XSL

strange issue when generating xml using jx-generator

2009-07-16 Thread Robby Pelssers
/BUK9MPP-55PRR.xml --^/sourcetext/parsererror Anybody who can explain what could be wrong with my setup? Thx in advance, Robby Pelssers

cocoon2.2: exception handling in sitemap stacktrace

2009-06-26 Thread Robby Pelssers
Hi guys, I was trying to implement error handling but get the stacktrace below when I added this sitemap snippet. Somebody who can give me some help on what I'm missing here or doing wrong? Thx in advance, Robby Pelssers map:components map:selectors map:selector name

RE: cocoon2.2: exception handling in sitemap stacktrace

2009-06-26 Thread Robby Pelssers
Thx for the info Soren... I think it's a little strange that the online documentation gives samples with only the className in the @class attribute instead of the fully qualified Classname. Anyway... that's all I needed to know. Cheers, Robby -Original Message- From: Søren Krum

RE: how to access HttpRequest from java in cocoon

2009-06-25 Thread Robby Pelssers
processInfoProvider) { this.processInfoProvider = processInfoProvider; } . public void doSomething() { HttpServletRequest request = this.processInfoProvider.getRequest(); HttpSession session = request.getSession(false); } } Robby

how to access HttpRequest from java in cocoon

2009-06-24 Thread Robby Pelssers
Hi guys, Small question... Is there a way to access org.apache.cocoon.environment.http.HttpRequest from java without having to pass the request object from flowscript to my java class like the snippet below? importClass(Packages.com.xxx.xxx.UserFactoryImpl); function main() {

The XML page cannot be displayed. Cannot view XML input using style sheet. Please correct the error and then click

2009-06-22 Thread Robby Pelssers
of this issue? Anybody any ideas? Thx in advance, Robby Pelssers map:match pattern=index.jx map:generate src=page/index.jx type=jx / map:transform src=resource/internal/xslt/forms-samples-styling.xsl map:parameter name=forms-resources value={servlet:forms

RE: The XML page cannot be displayed. Cannot view XML input using style sheet. Please correct the error and then click

2009-06-22 Thread Robby Pelssers
/map:pipeline From: Robby Pelssers [mailto:robby.pelss...@ciber.com] Sent: Monday, June 22, 2009 4:33 PM To: users@cocoon.apache.org Subject: The XML page cannot be displayed. Cannot view XML input using style sheet. Please correct the error and then click Hi all, I ran into a strange problem

RE: Is there already built forum on cocoon 2.2 ?

2009-06-17 Thread Robby Pelssers
Hi Gintare, Maybe it's a good start to google for a database schema for a forum. Next you will need some way to persist messages of course. Hibernate comes 2 mind. With a bit of flowscript and cocoon forms you should be able to get this job done quickly. Cheers, Robby From: Gintare

RE: Scary blank page, when opening cocoon webapp

2009-06-12 Thread Robby Pelssers
I had a similar problem a few days ago where I got a blank page and no errors The fix in my case was to make sure that all script tags had a #160; (nonbreakingspace) between the opening and closing script tags. Hope your issue is the same ;-) Cheers, Robby From: Gintare

RE: No bean named 'org.apache.cocoon.configuration.Settings' is defined

2009-06-11 Thread Robby Pelssers
Have you tried Settings instead of the long name? I'm not sure but that might work. Robby -Original Message- From: bcaramu [mailto:bcar...@gmail.com] Sent: Thursday, June 11, 2009 11:47 AM To: users@cocoon.apache.org Subject: No bean named 'org.apache.cocoon.configuration.Settings' is

RE: dynamic cForm generation

2009-06-05 Thread Robby Pelssers
We've done the same thing in the past but back then they were already working on a form library. http://cocoon.apache.org/2.1/userdocs/formlibraries.html Why don't you see if this will fill your needs. Robby -Original Message- From: Patrick Heiden [mailto:patrickhei...@gmx.de] Sent:

how-to reference external js from cocoon 2.2 block

2009-06-04 Thread Robby Pelssers
Hi all, I'm a bit puzzled about how to reference an external javascript file. Let's say I've put it in src/main/resources/external/js/test.js I thought about referencing it the same way as my css file but somehow this does not work. Can someone explain how I can accomplish this?

RE: how-to reference external js from cocoon 2.2 block

2009-06-04 Thread Robby Pelssers
- From: Jasha Joachimsthal [mailto:j.joachimst...@onehippo.com] Sent: Thursday, June 04, 2009 10:40 AM To: users@cocoon.apache.org Subject: Re: how-to reference external js from cocoon 2.2 block 2009/6/4 Robby Pelssers robby.pelss...@ciber.com: Hi all, I'm a bit puzzled about how to reference

RE: classes in block / usage in flowscript

2009-06-04 Thread Robby Pelssers
The proper way to access java from flowscript is to import the classes at the top: importClass(Packages.com.mycompany.util.MyClass); then you can do this: var myclass = new MyClass(); This should work if at least that package is included in the classpath. And if you want to access beans, you

RE: RE: classes in block / usage in flowscript

2009-06-04 Thread Robby Pelssers
Hi Patrick, If I'm not mistaken I think that some packages of the jdk are imported by default so you don't need to explicitly import. http://cocoon.apache.org/2.1/userdocs/flow/java.html But my advise is to import the ones you need explicitly. Cheers, Robby -Original Message- From:

RE: Blocks and error handling

2009-06-03 Thread Robby Pelssers
I was actually thinking of doing the same thing... so create one block responsible for handling any exceptions nicely. Suppose you have a block called 'exceptionhandler' which contain a service like below: map:match pattern=exceptionhandling-service map:generate

RE: Webapp structure

2009-05-30 Thread Robby Pelssers
. But the packaging of such a project is 'jar' like mentioned earlier in the thread. So typically, that jar would go into the WEB-INF/lib folder if you declare a dependency in 'mywebappproject' on that cocoon block. Hope that helps a bit. Cheers, Robby Pelssers -Original Message- From: Ivan

RE: problem in installing cocoon 2.1.11

2009-05-28 Thread Robby Pelssers
What is the result of echo $JAVA_HOME ?? Robby -Original Message- From: sonalimodi [mailto:sonalimodia...@gmail.com] Sent: Thursday, May 28, 2009 2:07 PM To: users@cocoon.apache.org Subject: problem in installing cocoon 2.1.11 hi i have build the build.sh file properly but i have

xml encoding issue cocoon2.2

2009-05-27 Thread Robby Pelssers
Hi all, I can't seem to set encoding properly when writing xml to a file using the write-source transformer. Googling around has not yet resulted in a solution ;-( In my sitemap I have declared the serializer like below: map:serializer logger=sitemap.serializer.xml

RE: xml encoding issue cocoon2.2

2009-05-27 Thread Robby Pelssers
Ok. I already found out how-to ;-) http://cocoon.apache.org/2.2/1366_1_1.html 4. Setting Cocoon's encoding (especially CForms) solved my issue. Cheers, Robby From: Robby Pelssers [mailto:robby.pelss...@ciber.nl] Sent: Wednesday, May 27, 2009 12:34 PM To: users

Is it possible to use a spring bean directly in the sitemap?

2009-05-19 Thread Robby Pelssers
Hi all, Suppose I have configured a bean: bean id=com.mycompany.repository class=com.mycompany.Repository property name=repositoryDir value=${repository.repositoryDir} / property name=xmlDirvalue=${ repository.xmlDir} /

ClassCastException in cocoon-block-deployment when running junit test [cocoon-3] and using cocoon-spring-configurator

2009-05-15 Thread Robby Pelssers
Hi all, I've been trying for quite some time to get a simple unit test working for a cocoon 3-block where I'm also using the 'cocoon-spring-configurator'. I added the files involved because I have no clue if this is a configuration problem somehow giving me the stacktrace below. Anybody

RE: ClassCastException in cocoon-block-deployment when running junit test [cocoon-3] and using cocoon-spring-configurator

2009-05-15 Thread Robby Pelssers
(spider); Assert.assertNotNull(spider); } } - So what's the deal here?? Am I missing some stupid detail or is the cocoon-spring-configurator messing up my unit-tests? Cheers, Robby Pelssers -Original Message

RE: Map serialize flowscript output

2009-05-12 Thread Robby Pelssers
Yes... Jasha is right. For the ones interested I wrote a small article on my blog showing you how to create simple dynamic SVG images using Apache Cocoon. http://robbypelssers.blogspot.com/ Cheers, Robby -Original Message- From: Jasha Joachimsthal [mailto:j.joachimst...@onehippo.com]

RE: Map serialize flowscript output

2009-05-12 Thread Robby Pelssers
...@eusex01.sweden.ecsoft, Robby Pelssers robby.pelss...@ciber.nl wrote: Yes... Jasha is right. For the ones interested I wrote a small article on my blog showing you how to create simple dynamic SVG images using Apache Cocoon. http://robbypelssers.blogspot.com/ Cheers, Robby -Original Message

No bean named 'org.apache.excalibur.source.SourceResolver' is defined

2009-05-12 Thread Robby Pelssers
, Robby Pelssers --- Test set: com.nxp.spider.common.SpiderTest --- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.578 sec

RE: No bean named 'org.apache.excalibur.source.SourceResolver' is defined

2009-05-12 Thread Robby Pelssers
artifactIdcocoon-servlet-service-components/artifactId version1.1.0-SNAPSHOT/version /dependency Thx in advance, Robby From: Robby Pelssers [mailto:robby.pelss...@ciber.nl] Sent: Tuesday, May 12, 2009 1:39 PM To: users@cocoon.apache.org Subject

RE: Map serialize flowscript output

2009-05-12 Thread Robby Pelssers
://blog.snyke.net On Tue, May 12, 2009 at 11:27 AM, Robby Pelssers robby.pelss...@ciber.nl wrote: And here's my response ;-) I posted it on the blog as well. If the images do not require animation you can just serialize the images to png or jpeg for instance. At the first project i ever did with SVG we

RE: Map serialize flowscript output

2009-05-12 Thread Robby Pelssers
I made a mistake in the xslt template ;-) xsl:template mactch=favourite a xsl:attribute name=xlink:href select=url / text x=10 y=20xsl:value-of select=description //text /a /xsl:template From: Robby Pelssers [mailto:robby.pelss...@ciber.nl] Sent: Tuesday, May 12, 2009

Cocoon 2.2 build failure

2009-05-12 Thread Robby Pelssers
Hi all, I checked out cocoon 2.2 from trunk today and can't seem to build due some missing daisy artifacts. I also noticed that the build.sh is not in unix format... (using cygwin shell) $ ./build.sh install ./build.sh: line 2: $'\r': command not found ./build.sh: line 17: $'\r':

[Cocoon 3] : Annotation-specified bean name 'org.apache.cocoon.sample.controller.DemoRESTController' for bean class [org.apache.cocoon.sample.controller.DemoRESTController] conflicts with existing, no

2009-05-11 Thread Robby Pelssers
Hi all, Anybody having the same problem when trying to run the cocoon3 sample? Cheers, Robby Pelssers log4j:WARN Please initialize the log4j system properly. log4j:WARN Please initialize the log4j system properly. 2009-05-11 10:32:54.224:/:INFO: Initializing Spring root

spring schema issue: spring-aop-2.5.xsd is not valid

2009-05-11 Thread Robby Pelssers
Hi all, I know it's not really a cocoon issue but anybody got an idea if this problem will be resolved soon? See attached screenshot for more info. Robby attachment: bean-config.gif - To unsubscribe, e-mail:

RE: [Cocoon 3] : Annotation-specified bean name 'org.apache.cocoon.sample.controller.DemoRESTController' for bean class [org.apache.cocoon.sample.controller.DemoRESTController] conflicts with existing

2009-05-11 Thread Robby Pelssers
3] : Annotation-specified bean name 'org.apache.cocoon.sample.controller.DemoRESTController' for bean class [org.apache.cocoon.sample.controller.DemoRESTController] conflicts with existing, non-compatible bean definition of same name and class Robby Pelssers wrote: Hi all, Anybody having

cocoon 3 sample: remark about usage of servlet-service demo

2009-05-11 Thread Robby Pelssers
Hi all, Taking a quick look at the cocoon 3 sample I noticed that the transformer-pipeline and serializer-pipeline are sort of the same except for myParam which get's another value. I noticed as well that I can't leave out the map:serialize type=xml/ from the transformer-pipeline. Otherwise

RE: cocoon 3 sample: remark about usage of servlet-service demo

2009-05-11 Thread Robby Pelssers
. That's what I mean with ambiguous names. Robby -Original Message- From: Reinhard Pötz [mailto:reinh...@apache.org] Sent: Monday, May 11, 2009 10:20 PM To: users@cocoon.apache.org Subject: Re: cocoon 3 sample: remark about usage of servlet-service demo Robby Pelssers wrote: Hi all

RE: exit from pipeline

2009-05-07 Thread Robby Pelssers
Hi Mike, Could you give more details about the pipeline and possibly describe the use case why you want to do this with flowscript? Can't you just use some parameter test which leads to a different execution path of the request? Robby -Original Message- From: MikeT5

RE: what does this error mean?

2009-03-12 Thread Robby Pelssers
); form.showForm(tskView); } } cocoon.releaseComponent(factory); /* } catch(e) { errorPage(Error, We apologize, but an error occurred ( + e + .) Please inform the system adminstrator about this error.); } */ } Robby Pelssers wrote: Hi Paul, Can you show

RE: what does this error mean?

2009-03-11 Thread Robby Pelssers
Hi Paul, Can you show the javascript controller, the formdefinition and possibly the jxtemplate you are using? Kind regards, Robby Pelssers -Original Message- From: Paul Joseph [mailto:pjos...@gmail.com] Sent: Wednesday, March 11, 2009 3:05 AM To: users@cocoon.apache.org Subject: what

question regarding cocoon protocols (css file not found depending on match pattern)

2009-02-27 Thread Robby Pelssers
that the file has to be searched from COB-INF as the context folder? And if there is no such protocol, what is the best way to handle this issue? Cheers, Robby Pelssers

RE: Re: question regarding cocoon protocols (css file not found depending on match pattern)

2009-02-27 Thread Robby Pelssers
@cocoon.apache.org Subject: Re: question regarding cocoon protocols (css file not found depending on match pattern) Hi Robby, Robby Pelssers schrieb: [...] Inside the page.jx (my page template) I have following reference to the css file. link type=text/css rel=stylesheet href=css/styles.css

RE: Problems creating block

2009-02-25 Thread Robby Pelssers
://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion packagingjar/packaging namecommon/name groupIdcom.nxp.spider/groupId artifactIdcommon/artifactId version1.0.0/version ... /project Cheers, Robby Pelssers -Original Message- From: Jose

RE: upgrading to 2.11

2009-02-25 Thread Robby Pelssers
to make a checklist and figure out all dependencies you need. Cheers, Robby Pelssers Block depends on needed by batik fop tour bsf fop batik tour xsp

RE: Problems creating block

2009-02-25 Thread Robby Pelssers
Ok... here you go: https://issues.apache.org/jira/browse/COCOON-2252 Cheers, Robby -Original Message- From: Grzegorz Kossakowski [mailto:g...@tuffmail.com] Sent: woensdag 25 februari 2009 22:07 To: users@cocoon.apache.org Subject: Re: Problems creating block Robby Pelssers pisze: Yes

flowscript in cocoon2.2

2009-02-18 Thread Robby Pelssers
specific folder?) and it would execute the called method in the first script containing this method... but maybe I'm completely wrong here. Do we have a page containing best practices for flowscript? Kind regards, Robby Pelssers

RE: flowscript in cocoon2.2

2009-02-18 Thread Robby Pelssers
need to specify the view and call showPage(). I also inherit the general application pageData and can add more data specific for the view. Cheers, Robby Pelssers !--+ | Definition of the control flow implementation. +-- map:flow language=javascript map:script

RE: Re: flowscript in cocoon2.2

2009-02-18 Thread Robby Pelssers
[mailto:n...@ger.gmane.org] On Behalf Of Luca Morandini Sent: woensdag 18 februari 2009 14:37 To: users@cocoon.apache.org Subject: Re: flowscript in cocoon2.2 Robby Pelssers wrote: Hi all, What do you think of current approach? I have defined a mainController which gets one parameter, the name

RE: Re: flowscript in cocoon2.2

2009-02-18 Thread Robby Pelssers
, but they have to set different PageData and they even might call a different view template. {1} looks for the first method that matches so in your provided solution it will probably invoke the main() method of the mainController.js, right? Kind regards, Robby Pelssers -Original Message

RE: Re: fast deployment; deploy a single block

2009-02-10 Thread Robby Pelssers
that when I modify classes in the block they are not reflected. Or am I missing something here and are there ways to use the springconfigurator in a standalone block? Kind regards, Robby Pelssers -Original Message- From: news [mailto:n...@ger.gmane.org] On Behalf Of Hubert Klein Ikkink Sent

RE: sitemap parameters

2009-02-05 Thread Robby Pelssers
}/ map:parameter name=serverPort value={request:serverPort}/ map:parameter name=servletPath value={request:servletPath}/ /map:transform Cheers, Robby Pelssers -Original Message- From: Chirathuru, Nagaraju [mailto:nchirath

RE: mapping xml 2 java using cocoon (block)

2009-02-05 Thread Robby Pelssers
object as it seems to be superfluous. Hope this helps, Warrell 2009/1/29 Robby Pelssers robby.pelss...@ciber.nl Hi all, I have a project where I want to read xml from the filesystem and unmarshall to Java. Suppose I have a request http://localhost:/myproject/product/xyz-123

RE: sitemap parameters

2009-02-05 Thread Robby Pelssers
Uh. LastModified of what?? Could you be more elaborate? Can you explain the usecase a bit more? Robby -Original Message- From: Mathias Reem [mailto:m.r...@gmx.net] Sent: donderdag 5 februari 2009 18:00 To: users@cocoon.apache.org Subject: Re: sitemap parameters Hi

RE: sitemap parameters

2009-02-05 Thread Robby Pelssers
Hi Mathias, You might create your own FileMetaGenerator which extends org.apache.cocoon.generation.AbstractGenerator You could let this FileMetaGenerator generate an xml snippet like: file:file xmlns:dir=http://apache.org/cocoon/file/2.0; file:lastmodified1056668768203/file:lastmodified

RE: sitemap parameters

2009-02-05 Thread Robby Pelssers
(); isFile = Boolean.valueOf(file.isFile()).toString(); path = file.getPath(); lastModified = df.format(new Date(file.lastModified())); } else { throw new FileNotFoundException(); } } } -Original Message- From: Robby

RE: Re: Using spring configurator (for properties) in block

2009-01-29 Thread Robby Pelssers
@cocoon.apache.org Subject: Re: Using spring configurator (for properties) in block Robby Pelssers wrote: So I created following property file in /META-INF/cocoon/properties/application.properties repository.dir=D:/_testdata_ repository.dir.released=${repository._dir_}/XML Repository

mapping xml 2 java using cocoon (block)

2009-01-29 Thread Robby Pelssers
option to accomplish this or are there easier ways. Thx in advance. Robby Pelssers

RE: Getting started with C2.2 -- where's the exception information?

2009-01-29 Thread Robby Pelssers
Try adding map:handle-errors map:generate type=exception/ map:serialize type=xml/ /map:handle-errors To the pipeline. It will show you the exception (source, message, stacktrace) in the browser Cheers, Robby Pelssers -Original Message- From

Using spring configurator (for properties) in block

2009-01-28 Thread Robby Pelssers
by the spring configurator. Many thanks in advance, Robby Pelssers [INFO] Started Jetty Server 2009-01-28 18:12:36.069::WARN: Nested in javax.servlet.ServletException: org.apache.cocoon.ProcessingException: Sitemap: error invoking matcher at map:match - file:///D:/development

RE: [2.2] Read value from a Cookie in the Sitemap

2009-01-27 Thread Robby Pelssers
Hi Magnus, Check out attached message. Cheers, Robby Pelssers From: Magnus Haraldsen Amundsen [mailto:magnus.haraldsen.amund...@computas.com] Sent: dinsdag 27 januari 2009 13:42 To: users@cocoon.apache.org Subject: [2.2] Read value from a Cookie in the Sitemap Is it possible

RE: JX / Flowscipt variable not accessible in generated form?

2009-01-27 Thread Robby Pelssers
/formtemplate/ + formname, { state : state } ); } From your flowscript you create the form: var editCountryDataForm = new Form(cocoon:/db/forms/country/output); Cheers, Robby Pelssers -Original Message- From: Derek Hohls [mailto:dho...@csir.co.za] Sent: dinsdag 27

sitemap question (using parameters from inputmodule to configure components)

2009-01-27 Thread Robby Pelssers
/map:transformer Thx in advance, Robby Pelssers

RE: JavaScript in stylesheet vs. in sitemap flow

2009-01-20 Thread Robby Pelssers
You see how to use the cookiemodule to pass cookies to your xslt: Example Pipeline Fragment: map:match pattern=foo.html map:generate type=file src=documents/{cookie:user-language}/foo.xml/ map:transform src=stylesheets/foo2html.xsl/ map:serialize/ /map:match Cheers, Robby Pelssers

question regarding inputmodule [cocoon 2.1.10)

2009-01-14 Thread Robby Pelssers
output-prefixfile:///images//output-prefix elementsproduct-cell-image/elements /map:transformer Thx in advance, Robby Pelssers

RE: Testdriven development (XSLT) for cocoon applications

2008-11-16 Thread Robby Pelssers
and present my findings. Thx for your mail, Robby -Original Message- From: Alexander Daniel [mailto:[EMAIL PROTECTED] Sent: zaterdag 15 november 2008 23:18 To: users@cocoon.apache.org Subject: Re: Testdriven development (XSLT) for cocoon applications On 31.10.2008, at 09:28, Robby Pelssers

RE: not sure how to modify xsl match

2008-11-04 Thread Robby Pelssers
Hi Paul, Could you post the snippet that matches the normal body tag? Is it something like xsl:template match=body ... /xsl:template That should also match the body tag with the onload attribute... Cheers, Robby -Original Message- From: Paul Joseph [mailto:[EMAIL PROTECTED]

RE: Re: Testdriven development (XSLT) for cocoon applications

2008-11-02 Thread Robby Pelssers
Bertrand en Hubert... Thx for the info. I will most definitely be spending time on Co-Unit the next few weeks. Sounds like the answer I was looking for. Cheers, Robby -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Hubert Klein Ikkink Sent: zondag 2 november 2008

Testdriven development (XSLT) for cocoon applications

2008-10-31 Thread Robby Pelssers
to know the experience from this community. One requirement might be the possibility to write tests for xslt2.0. Cheers, Robby Pelssers http://www.jenitennison.com/xslt/utilities/unit-testing/ http://juxy.tigris.org/ https://utf-x.dev.java.net/ http://www.idealliance.org

java.lang.ClassNotFoundException: org.apache.cocoon.generation.ServerPagesGenerator (cocoon 2.1.10)

2008-09-01 Thread Robby Pelssers
Hi all. Does anybody know if I forgot to include a block? I excluded following blocks (forms, xsp, ajax, template) because I'm pretty sure they were not used in the application. Cheers, Robby I get following stracktrace: java.lang.ClassNotFoundException:

RE: java.lang.ClassNotFoundException: org.apache.cocoon.generation.ServerPagesGenerator (cocoon 2.1.10)

2008-09-01 Thread Robby Pelssers
Ok... i removed some references in the sitemap and my problem was fixed. Cheers, Robby From: Robby Pelssers [mailto:[EMAIL PROTECTED] Sent: maandag 1 september 2008 12:37 To: users@cocoon.apache.org Subject: java.lang.ClassNotFoundException

Porting Cocoon 2.1.10 application to Cocoon 2.2.0

2008-08-21 Thread Robby Pelssers
Hi all, Does anybody know if there is documentation available that describes what steps to take to upgrade to Cocoon 2.2.0? Cheers, Robby Pelssers

Impact/benefits of upgrade from cocoon 2.1.10 to 2.2.0

2008-08-18 Thread Robby Pelssers
are the pitfalls when upgrading? How much time did upgrading take? Was it a matter of days, weeks? I 'm just asking because I have to manage 5 cocoon apps since shortly and we are considering upgrading to cocoon.2.2.0 Cheers, Robby Pelssers

Problem building Cocoon (the requested operation cannot be performed on a file with a user-mapped section open)

2008-07-14 Thread Robby Pelssers
Well, since I am still facing the same problem I did a thorough search on the internet and I noticed I was not the only one having this problem: http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html (number 13)

RE: Problem building Cocoon (the requested operation cannot be performed on a file with a user-mapped section open)

2008-07-14 Thread Robby Pelssers
Jul, 2008, at 9:29 am, Robby Pelssers wrote: Well, since I am still facing the same problem I did a thorough search on the internet and I noticed I was not the only one having this problem: http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html (number 13) http

building cocoon fails (The requested operation cannot be performed on a file with a user-mapped section open)

2008-07-11 Thread Robby Pelssers
Hi list, Anyone who encountered a similar problem? And does anybody have an idea how to fix this problem? Below are 2 build trials and it does not always fail at the same spot. I already googled on the error The requested operation cannot be performed on a file with a user-mapped section

RE: building cocoon fails (The requested operation cannot be performed on a file with a user-mapped section open)

2008-07-11 Thread Robby Pelssers
arguments argumentwar/argument /arguments /configuration /execution ... /executions Cheers, Robby From: Robby Pelssers [mailto:[EMAIL PROTECTED] Sent: vrijdag 11 juli 2008 9:30 To: users@cocoon.apache.org Subject

RE: Long delay for Newsgroup Messages

2008-07-04 Thread Robby Pelssers
I can confirm that I often see the same delay when posting to this mailinglist. Cheers, Robby From: Christofer Dutz [mailto:[EMAIL PROTECTED] Sent: vrijdag 4 juli 2008 8:37 To: users@cocoon.apache.org Subject: Long delay for Newsgroup Messages Hi,

RE: Java version

2008-07-03 Thread Robby Pelssers
In the pom, You can define a the plugin below and just set the source and target to your needs. Cheers, Robby Pelssers build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.0/version

Cocoon-fop-impl using old version of fop.jar

2008-07-01 Thread Robby Pelssers
-impl/artifactId version1.0.0/version /dependency Any help would be most appreciated. Cheers, Robby Pelssers

RE: Cocoon-fop-impl using old version of fop.jar

2008-07-01 Thread Robby Pelssers
/version /dependency HTH Felix Robby Pelssers schrieb: Hi guys, I would like to use at least the stable fop0.94 or even try out the 0.95 beta. What is the easiest way to accomplish this? Currently I have just added the FOP-dependency to my pom like below

Debugging sitemap

2008-06-27 Thread Robby Pelssers
-- Pipeline executed: static-content Matched pattern: static/page/*/page-*.* Pattern value: static/page/general/page-home.xhtml - End Pipeline Debugging Cheers, Robby Pelssers

question about how to reference a css file from within xslt (cocoon 2.2)

2008-06-24 Thread Robby Pelssers
}/ /map:match /map:pipeline ... /map:pipelines Cheers, Robby Pelssers

<    1   2   3   4   5   6   >