Re[3]: Problem with Session under Cocoon 2.1

2006-11-16 Thread Martin Heiden
Kris, k> yes I meen multiple session from one client computer. I know that k> cocoon handle more session from different clients. But I meen more k> session from one IP, one client. With different requests, with k> different desing. I know it could sound crazy :) Well, normally you have two choic

How to declare a datasource in 2.2

2006-12-02 Thread Martin Heiden
Hi! Can anyone point me to the right way to declare a datasource in a Cocoon 2.2 webapp? I tried to place it in: /WEB-INF/cocoon/avalon/cocoon-myapp.xconf /WEB-INF/cocoon/cocoon-myapp.xconf or /WEB-INF/cocoon-myapp.xconf and the same places under /META-INF/ without any results.

Re: How to declare a datasource in 2.2

2006-12-02 Thread Martin Heiden
Hi! Saturday, December 2, 2006, 12:25:23 PM, you wrote: MH> MH> MH>my declaration MH> MH> Sorry, that should read my declaration regards, Martin - To unsubscribe, e-mail: [EM

Re: How to declare a datasource in 2.2 (solved)

2006-12-04 Thread Martin Heiden
Hallo Martin, Hi! Saturday, December 2, 2006, 12:25:23 PM, you wrote: MH> Can anyone point me to the right way to declare a datasource in MH> a Cocoon 2.2 webapp? Finally I found it. (and hope that it was the right way to do it...) 1. Copy the cocoon.xconf from core/cocoon-core/src/main

applicationContext: The matching wildcard is strict, but no declaration can be found for element 'avalon:bridge'

2007-02-14 Thread Martin Heiden
Hi! I'm desperately trying to get a small application working with cocoon 2.2. I setup a new project using todays svn snapshot from trunk and the cocoon-22-archetype-webapp version 1.0.0-M2-SNAPSHOT. When I try to start tomcat (5.5) using a java 5.0 sdk, I get the following exception:

Re[2]: applicationContext: The matching wildcard is strict, but no declaration can be found for element 'avalon:bridge'

2007-02-15 Thread Martin Heiden
Hi Grzegorz, Wednesday, February 14, 2007, 11:48:35 PM, you wrote: GK> Your configuration seem to look fine. Have you tried running it on GK> Jetty? Go to your webapp app and type: GK> mvn clean package jetty:run -X Debug info attached. GK> and attach full debugging information. Also go to core

Re[2]: applicationContext: The matching wildcard is strict, but no declaration can be found for element 'avalon:bridge'

2007-02-15 Thread Martin Heiden
Hallo Grzegorz, Wednesday, February 14, 2007, 11:48:35 PM, you wrote: GK> and attach full debugging information. Also go to core\cocoon-webapp and GK> type: GK> mvn clean package jetty:run GK> and tell us if it's working. Thanks for the hint! I refreshed my maven repo and checked out a brand new

C2.2: Upload throws NullPointerException

2007-04-26 Thread Martin Heiden
Hi! I've got problems to upload a xml to cocoon. I want to transfer a file with a simple and suffer a NullPointerException. The Exception is only visible with activated debug-filter. But when the debug filter is deactivated, the upload doesn't work either. I work with a snapshot-rel

Re: C2.2: Upload throws NullPointerException

2007-04-27 Thread Martin Heiden
Hi! Thursday, April 26, 2007, 7:18:51 PM, you wrote: MH> I've got problems to upload a xml to cocoon. I want to transfer a MH> file with a simple and suffer a MH> NullPointerException. MH> The Exception is only visible with activated debug-filter. But when MH> the debug filter is deac

Re: Custom Cocoon 2.2 projects: Alternatives to Maven 2

2007-05-24 Thread Martin Heiden
On Thu, May 24, 2007 8:07 am, Reinhard Haller wrote: > > sounds like we need a kind of installer to hide the complexity of maven > from the user. This way we reduce complexity without adding options with > the need of further support. > I switched to use maven for all my projects after evaluating

Re: file upload and stream generator

2007-09-15 Thread Martin Heiden
Hi! Tuesday, September 11, 2007, 5:25:06 PM, you wrote: t> I have a problem between uploading xml files and generating them with a t> stream generator in cocoon. t> here are my html file and my sitemap.xmap t> So, when I try to test that, I have this exception: Unknown request object encou

Re: Cocoon 2.1 environment objects from a Java XSLT extension

2007-10-10 Thread Martin Heiden
Tobia, Wednesday, October 10, 2007, 10:30:57 AM, you wrote: TC> This works, but I need to access the standard Cocoon environment objects TC> (Request would suffice) from my Java class. TC> Is there a better way? Just an idea, I never tested it but maybe it's worth to try it: Did you think abo

2.2 cocoon-cli

2008-01-13 Thread Martin Heiden
Hi! Reinhard Pötz wrote: >> I expected 2.2 as the next version of cocoon. What about the 2.2 release? > > There are some open tasks left but I expect that we can start the release > process at the end of January. Will the release of cocoon 2.2 include the cocoon-cli? I noticed that this module

Re: 2.2 cocoon-cli

2008-01-14 Thread Martin Heiden
Reinhard, Reinhard Poetz schrieb: >> Will the release of cocoon 2.2 include the cocoon-cli? I noticed that >> this module currently isn't included in the core's pom and istn't part >> of RC2. > > no, 2.2.0 will most probably not ship containing a CLI. I'm sorry. > Will it be included in a late

Re: 2.2 cocoon-cli

2008-01-15 Thread Martin Heiden
Tuesday, January 15, 2008, 9:09:23 AM, you wrote: TS> On Tue, 2008-01-15 at 08:53 +0100, Carsten Ziegeler wrote: >> > >> We discussed this some time ago. The outcome at that time was that the >> cli is not really needed and a webapp with a crawling client (wget etc.) >> is sufficient. TS> I st

Re: Cocoon, JX Temaplte and UTF-8

2008-02-27 Thread Martin Heiden
Hi! Wednesday, February 27, 2008, 5:20:28 PM, you wrote: MHA> I want to pass the content of that Model (what comes out of the write()) MHA> to the pipeline and display it in a template, jx.xml, using value="#{result-list}" xmlize="true" MHA> xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"/>

Re[2]: Cocoon, JX Temaplte and UTF-8

2008-02-28 Thread Martin Heiden
Magnus, I'd also suggest to write the output of m.write() to a file, to inspect, if this outputs UTF-8 or ISO-8859-1. If it is UTF-8 add the charset to bout.toString(). If you only deal with UTF-8, you should make sure that the default-charset of the application server und cocoons setti

Re[2]: Auth block

2008-05-05 Thread Martin Heiden
Hi Andre, Monday, May 5, 2008, 8:52:30 PM, you wrote: AJ> AJ>org.apache.cocoon AJ>cocoon-pipeline-components AJ>1.0.0 AJ> I don't think that cocoon-pipeline-components 1.0.0 is already released officially. The 1.0.0 POMs appeared a few weeks ago, but I couldn'

Re: jXtemplate and Java source: searching an example or tutorial

2008-08-23 Thread Martin Heiden
Hi! Saturday, August 23, 2008, 9:19:13 PM, you wrote: j> What I want for my project is to use real lines of Java source in the j> jXtemplate file: like it was in XSP. Is this possible. j> For instance, the next line: j> String name; j> There are other possibilities in jXtemplate to have a va

Re: Cocoon 3 empty project

2008-08-24 Thread Martin Heiden
Hi! Erasmo schrieb: I have read a few articles and it looks great and promissing what Coocon does so im actually evaluating if i can migrate the whole job to Coocon and was whishing if someone in this list could tell me if am i in the right way. Sure, you can use cocoon to do that. But you

Re: POST parameter in Sitemap

2008-08-26 Thread Martin Heiden
Hi! JLe schrieb: === === If you POST/GET values you have to use the request-param input module. Request attributes can

Re: Cocoon 3.0 skeleton project

2008-08-26 Thread Martin Heiden
Hi! Erasmo schrieb: There's a way to create an empty cocoon 3.0 project? I'm pretty new with cocoon i have tried 2.2 using the empty webapp project in the cocoon svn and i was wondering if there's something similar in 3.0 i tried the samples but the projects include a lot of things and sub pro

Re: C22 - Maven artifact missing

2008-09-01 Thread Martin Heiden
yosauron schrieb: I've tried to compile without using tests. I've used this sentence: %./build.sh -Dmave.test.skip=true install There's a typo in your command: It should be: mvn -Dmaven.test.skip=true install See http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.h

Re: C22 - Maven artifact missing

2008-09-02 Thread Martin Heiden
Hi! David Legg schrieb: I'm behind a proxy, could be this the source of the problem Is this new info that you omitted to tell us?!!! ;-) I'm not a subversion expert and I'm not personally behind a proxy here but I did notice that you have to make some adjustments if you are behind a proxy

Re: cforms

2008-09-02 Thread Martin Heiden
Hi! Tak-po Li schrieb: I followed the Cform instruction. All steps are OK until "mvn jetty:run". I got Build Error "Address already in use: bind". Could any one help? Stop the jetty instance which is listening on Port before you start another ;-) cheers Martin -

Re: Flowscript - delete file

2012-12-27 Thread Martin Heiden
Hi Peter, PS> //Delete file PS> Packages.java.io.File.xml_file.delete(); Try xml_file.delete(); You just have to add the full "path" to the class when you construct it. After this, the variable contains a reference and you can just use it. Regards, Martin. Thursd

Re[2]: Flowscript - delete file

2012-12-27 Thread Martin Heiden
avascript.EvaluatorException: PS> "file:///D:/cocoon-2.1.11-wl/build/webapp/office/flow/deletefile.js", line 1: Compilation produced 1 PS> syntax errors. PS> at PS> org.apache.cocoon.components.flow.javascript.JSErrorReporter.runtimeError(JSErrorReporter.java: