RE: xml in string in jxtemplate

2008-07-16 Thread Philippe LAPLANCHE
I just found this and from what I understand it will fix my problem On this page : http://wiki.apache.org/cocoon/JXTemplateGenerator But it says it will only work with cocoon 2.2 My only solution is to install cocoon 2.2 ? Philippe -Message d'origine- De : Philippe LAPLANCHE Envoyé

xml in string in jxtemplate

2008-07-16 Thread Philippe LAPLANCHE
Hello everyone, I have xml fragments of data in a column of a table in a database and I want to format the data and put it on a web page. I can't make it work. The current approach I use is maybe not the right one. Can you advise please ? Here's how I try to do it and why I'm failing : I'm usi

Is there a tool for reading cocoon-ehcache-1.data

2008-07-16 Thread [EMAIL PROTECTED]
I'm using Cocoon 2.1.9. I suspect something is wrong with the content of cocoon-ehcache-1.data Is there a tool i can use to read the cocoon-ehcache-1.data? Thanks in advance -- View this message in context: http://www.nabble.com/Is-there-a-tool-for-reading-cocoon-ehcache-1.data-tp18499069p18499

Re: RequestWrapper and the case of the Nullpointer

2008-07-16 Thread jsfbee
I am also getting the same error. I am using JSF and Tomcat 5.5. It comes on and off. Not consistent. Pulling my hair!!! Vadim Gritsenko wrote: > > On Apr 4, 2008, at 5:38 AM, Alec Bickerton wrote: > >> Vadim Gritsenko wrote: >>> On Apr 3, 2008, at 12:30 PM, Alec Bickerton wrote: >> [snip] >>

Re: Installing 2.2

2008-07-16 Thread Patrick Heiden
> Hi Mika, > > > as an semi-amateur web application developer I have to say that moving > > on to 2.2 has been too big step for me. Not familiar with the Maven > > and even figuring out of the examples has caused me pain to understand > > what's going on... > > I understand exactly what you m

Re: test if was successful?

2008-07-16 Thread Nick McDonald
planet.nl> writes: > > > > > Take a look at the ResourceExistsSelector [1] This selector can test whether a resource exists and you can base your handling of it on that. > [1] http://cocoon.apache.org/2.1/userdocs/resourceexists-selector.html > Hth, > Nick Stolwijk > ~Java Developer~ > Iprof

Re: Ajax and Cocoon

2008-07-16 Thread André Davignon
Hi, I guess you can use any js framework you're familiar with. We use Dojo only for Ajax Cforms and jQuery for basic HTML forms in Cocoon apps. Cheers. André Using 2.2, what is the best way to implement autocompletion in text fields when we don’t use Cforms? (we use basic HTML Forms). Ca

RE: test if was successful?

2008-07-16 Thread nicklist
Take a look at the ResourceExistsSelector [1] This selector can test whether a resource exists and you can base your handling of it on that. [1] http://cocoon.apache.org/2.1/userdocs/resourceexists-selector.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem

test if was successful?

2008-07-16 Thread Nick McDonald
I'm using to send a file. I use cocoon.sendPage() in my flowscript to initiate the transfer; once the transfer is complete, I need to "return" to the flowscript and possibly perform some additional actions, depending on whether the file was successfully transferred. As it stands now, the addi

C2.2 - Mixing SLF4J with Cocoon

2008-07-16 Thread David Legg
I'm trying to add a new block to a Cocoon web app and every time I try to do a 'mvn jetty:run' command I get a 'java.lang.AbstractMethodError' and the web app just seems to stop serving web pages (error list shown at end of this message). The block in question makes calls to the Sesame [1] RDF

Re: Installing 2.2

2008-07-16 Thread Reinhard Pötz
Patrick Heiden wrote: Hello Reinhard! Thank you for that statement!! Wouldn't ist be usefull to include cocoon-samples, too? I imagine, that maybe this is in conflict with needed tools (maven, jetty, plugins,..) to run the samples... I am not sure, but maybe they could be served as binary as we

Re: Installing 2.2

2008-07-16 Thread David Legg
Hi Mika, as an semi-amateur web application developer I have to say that moving on to 2.2 has been too big step for me. Not familiar with the Maven and even figuring out of the examples has caused me pain to understand what's going on... I understand exactly what you mean ;-) So I would app

Re: Installing 2.2

2008-07-16 Thread Lehtonen, Mika
Hello All, as an semi-amateur web application developer I have to say that moving on to 2.2 has been too big step for me. Not familiar with the Maven and even figuring out of the examples has caused me pain to understand what's going on. I started Cocoon with 2.1.x war with Tomcat, so this 2.

Re: Apache commons-fileupload returns an empty list

2008-07-16 Thread Robin Wyles
Magnus, I really think the problems you are having are caused by the fact that the uploaded files have already been processed by Cocoon before you do your fileupload stuff, as I outlined in my earlier post [1]. Robin [1] http://www.mail-archive.com/users@cocoon.apache.org/msg42637.html

Re: Installing 2.2

2008-07-16 Thread Patrick Heiden
Hello Reinhard! Thank you for that statement!! Wouldn't ist be usefull to include cocoon-samples, too? I imagine, that maybe this is in conflict with needed tools (maven, jetty, plugins,..) to run the samples... I am not sure, but maybe they could be served as binary as well (e.g. a samples bl

Re: Installing 2.2

2008-07-16 Thread Reinhard Pötz
David Legg wrote: Patrick, Why is there a binary download available, if (hopefully most) users build their apps with maven and dependencies are obtained automatically? I guess it's a comfort for those not able to use Maven for some reason. I think of it as a transitional thing. There

Re: Installing 2.2

2008-07-16 Thread David Legg
Patrick, Why is there a binary download available, if (hopefully most) users build their apps with maven and dependencies are obtained automatically? I guess it's a comfort for those not able to use Maven for some reason. I think of it as a transitional thing. For those of us trying to

Re: Installing 2.2

2008-07-16 Thread Patrick Heiden
Maybe you could give me one more information, David: Why is there a binary download available, if (hopefully most) users build their apps with maven and dependencies are obtained automatically? Best regards, Patrick -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt

Re: Installing 2.2

2008-07-16 Thread Patrick Heiden
Thanks a lot David, that is what I need to proceed. Cheers, Patrick Original-Nachricht > Datum: Wed, 16 Jul 2008 11:36:24 +0100 > Von: David Legg <[EMAIL PROTECTED]> > An: users@cocoon.apache.org > Betreff: Re: Installing 2.2 > Patrick, > > >> It sounds like you did all the ri

Re: Installing 2.2

2008-07-16 Thread David Legg
Patrick, It sounds like you did all the right things except maybe you forgot to change into the '[cocoon trunk]\core\cocoon-webapp' folder here is the problem. After downloading the 2.2.0 binary, there is no such folder. Should I better stick with a version from trunk during development

RE: Apache commons-fileupload returns an empty list

2008-07-16 Thread Alessandro Vincelli
Are only suggestions :) I'm using Cforms and the upload-widget in cocoon 2.2, in order to work with upload, I overrode several configurations on the file core.properties the default value are: org.apache.cocoon.uploads.enable=true org.apache.cocoon.uploads.autosave=true org.apache.cocoon.uploads.o

Re: Installing 2.2

2008-07-16 Thread Patrick Heiden
Hi David! thanks for the fast reply ;) but... > Pretty much! You should think of C2.2 applications as being a > collection of different blocks some generated using the command you show > above and some from different archetypes. Not all of your blocks have > to be 'Cocoon blocks'. > > > And

Re: Installing 2.2

2008-07-16 Thread David Legg
Hi Patrick, Is it right, that one has just to fire mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org and maven will install all (standard) dependencies transitive by itself (and copy everything into my local repository as always)? Pretty much! You should think of C2.

Re: Options to create a pipeline?

2008-07-16 Thread Reinhard Pötz
Carlos Tejo Alonso wrote: Hi, I am wondering if there are more options to use Cocoon pipeline system than the sitemap.xmap. Is there a kind of API (by web or by java code) in order to create and launch a pìpeline? In the Cocoon whiteboard there is a rewrite of Cocoon called "Corona" which

Options to create a pipeline?

2008-07-16 Thread Carlos Tejo Alonso
Hi, I am wondering if there are more options to use Cocoon pipeline system than the sitemap.xmap. Is there a kind of API (by web or by java code) in order to create and launch a pìpeline? Cheers, Carlos Tejo Alonso R&D Deparment - CTIC Foundation [Asturias, Spain] www.fundacionctic.org -

Installing 2.2

2008-07-16 Thread Patrick Heiden
Hello together! I've been working with 2.2 before the official release (now as binary) and always checked out cocoon from svn trunk. Then I've installed everything using the -P allblocks semantics. Fine! Now I want to switch to the official release and downloaded the binary. And there is no INS

Ajax and Cocoon

2008-07-16 Thread Magnus Haraldsen Amundsen
Using 2.2, what is the best way to implement autocompletion in text fields when we don't use Cforms? (we use basic HTML Forms). Can I ie. use DOJO? - Magnus IMPORTANT NOTICE: This message may contain confidential information. If you have received this e-mail in error, do not use, copy or