Cocoon2: Problem using action-sets.

2001-11-13 Thread Kenneth Petersen
I am having problems using action-sets. In an example I created, I have defined the following in my SiteMap: When I try accessing the entry pipeline (with or withour a parameter cocoon-action=init) I get the following exception: =

Cocoon2 - Loop facility in SiteMap

2001-10-30 Thread Kenneth Petersen
I am receiving a request containing a number parameters named "key". For each of this parameters I would like to call some action depending on the value of the parameter. Each parameter uses the pattern "[name]:[number]", and for every parameter I would like to call an action named "name". I gu

Cocoon2 : Selector using parameter from request.

2001-10-30 Thread Kenneth Petersen
I would like to use a parameter from the request to determine what xml-file to view. Without being sure, I think that the "parameter"-selector (org.apache.cocoon.selection.ParameterSelectorFactory) from the Cocoon SiteMap can be used for this. As a test I have written the following matcher:

xml-schema / validate forms

2001-10-24 Thread Kenneth Petersen
Hi all! I was wondering why efforts have been made to generate and maintain the FormValidatorAction. Why not just use xml-schemas and xml-validation to validate input from froms? The only problem I can see in using xml-schemas is that it does not support I18N. On the other hand neither does F

RE: Java 1.4 and Cocoon 2

2001-10-19 Thread Kenneth Petersen
I'm afraid that I don't why you got the message that you describe. But I'm am having no ploblem using Cocoon 2 with Java 1.4 beta 2. I am using Tomcat 4.0, JBoss 2.4.3 and Cocoon 2 on a windoze 2000 sp2 platform. KP >Not sure if this is the reason, but I know that Batik (svg generator used by

What's wrong with the util logicsheet in C2rc1?

2001-10-18 Thread Kenneth Petersen
In a former posting dated 2001-09-06, Chris says that the util logicsheet is broken in C2b2. Now I'm trying to use in C2rc1 from an XSP page but the resulting _xsp.java file is not generated properly. Even the examples used in the Cocoon 1 FAQ don't work. The FAQ states "You must either use th

Action - modify / add parameter to Reguest

2001-10-04 Thread Kenneth Petersen
I am trying to run the Action example from the Cocoon 2 website. My problem is that the action class in the example add's an Attribute named "hello" to the request, but the XSP-servlet uses a Parameter named "hello". This of cause results in the XSP-servlet getting and using the value null. I

Cocoon 2 / Tomcat 4.0 / JBoss 2.4.2

2001-10-02 Thread Kenneth Petersen
I am trying to launch Cocoon 2 rc 1 within the integrated JBoss 2.4.2/Tomcat 4.0 environment. In the initialization process of JBoss the exception mentioned below is thrown. Does anyone know how to get the tree products to work together? Help would be much appreciated. Regards KP Log fil