Re: [cocoon2.2] Exception when starting from JonAS484 or Tomcat5523

2007-09-11 Thread Grzegorz Kossakowski
Raphaël Piéroni pisze: > Hi, my problem > was the spring AOP... > > It seems to be solved for now. Raphaël, few words on how you solved it wouldn't hurt but only increase collaborative wisdom. -- Grzegorz Kossakowski Committer and PMC Member of Apache Cocoon http://reflectingonthevicissitudes.

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-11 Thread Grzegorz Kossakowski
Raphaël Piéroni pisze: > Hi Guys, > > > I have a transformer defined in the sitemap.xmap. Is it your own transformer? > And this transformer have to access the database (DAO w/ transaction) > that is defined with spring. > But i can't manage to link the 2 information. Is this transformer a Spr

RE: Build problem

2007-09-11 Thread Manuel Mata
It seems to be an Operative System problem than a Cocoon one. Look at http://www.google.es/search?q=The+requested+operation+cannt+be+performed+on+a+file+with+a+user-mapped+section+open&hl=es&rls=GGGL,GGGL:2006-38,GGGL:es&start=0&sa=N I hope it helps. Manuel Mata __

RE: Pass Parameter from flowscript to jxt

2007-09-11 Thread Jasha Joachimsthal
If you print sError from flow, does it have a value? -Original Message- From: rachid harradi [mailto:[EMAIL PROTECTED] Sent: Tue 9/11/2007 5:51 PM To: users@cocoon.apache.org Cc: Subject:Re: Pass Parameter from flowscript to jxt thank you for reply but i dont get

Re: Pass Parameter from flowscript to jxt

2007-09-11 Thread rachid harradi
thank you for reply but i dont get the value of sError !! Original-Nachricht > Datum: Tue, 11 Sep 2007 13:53:17 +0200 > Von: Jeroen Reijn <[EMAIL PROTECTED]> > An: users@cocoon.apache.org > Betreff: Re: Pass Parameter from flowscript to jxt > Hi Rachid, > > try ${cocoon.pa

Build problem

2007-09-11 Thread Murali Krishna
Sir, While installing Cocoon on the Windows XP2002 with java version JDK 1.5.0_06 following the instructions provided in the install.txt of cocoon-2.1.10 distribution,in the step (3) ,when the "build" command is executed from the command prompt ,the control after executing number of targets fi

file upload and stream generator

2007-09-11 Thread thuertas
hi, I have a problem between uploading xml files and generating them with a stream generator in cocoon. here are my html file and my sitemap.xmap myfile.html action="http://127.0.0.1:8081/ma/services/ma-import/mapipeline"; enctype="multipart/form-data"> sitemap.xma

[cocoon 2.2] Spring configuration of transformers

2007-09-11 Thread Raphaël Piéroni
Hi Guys, I have a transformer defined in the sitemap.xmap. And this transformer have to access the database (DAO w/ transaction) that is defined with spring. But i can't manage to link the 2 information. Is there any documentation or example? Regards, Raphaël Piéroni -

Re: [cocoon2.2] Exception when starting from JonAS484 or Tomcat5523

2007-09-11 Thread Raphaël Piéroni
Hi, my problem was the spring AOP... It seems to be solved for now. Raphaël Raphaël Piéroni a écrit : Hi Guys, I got the folowing exception when deploying my cocoon webapp in tomcat or in jonas. I must admit having no clue to solve this problem, maybe my nabble and google search where not w

Re: Pass Parameter from flowscript to jxt

2007-09-11 Thread Jeroen Reijn
Hi Rachid, try ${cocoon.parameters.sError}. That should do the trick. Regards, Jeroen Reijn rachid harradi wrote: Hello together, i wish to pass a parameter like sError to jxt. her is me Match : but i don

Pass Parameter from flowscript to jxt

2007-09-11 Thread rachid harradi
Hello together, i wish to pass a parameter like sError to jxt. her is me Match : but i dont know how i ask the value of this parameter: http://apache.org/cocoon/jxtemplate/1.0";> leider konnte das Doc

Re: Installation problem

2007-09-11 Thread Jeroen Reijn
Hi Murali, I do not think this is an actual cocoon problem. It seems that some of the files on your system are locked by the operating system because one of the files is in use or something. Try moving the cocoon-2.1.10 folder into another folder and see if that helps. Kind regards, Jeroe

Re: XSLT Transformation error in C2.2

2007-09-11 Thread Sébastien Geindre
Askild Aaberg Olsen a écrit : Sébastien Geindre wrote: Hi all, I use C2.2. I try to do this in a xslt stylesheet : but cocoon refuses, and says : Caused by: javax.xml.transform.TransformerException: Impossible de trouver la fonction : if at org.apache.xpath.compiler.XPathParser.

Re: XSLT Transformation error in C2.2

2007-09-11 Thread Sébastien Geindre
Thanks Tobia, I thought about these solution but i really wonder why it do not work I think it is possible with xslt version 2.0 http://zvon.org/xxl/XSL-Ref/Tutorials/Conditional-Expressions/ce1.html so what i need is a xslt 2.0 transformer. the question is now, how can i set it with C2.2 ?? T

Re: XSLT Transformation error in C2.2

2007-09-11 Thread Askild Aaberg Olsen
Sébastien Geindre wrote: Hi all, I use C2.2. I try to do this in a xslt stylesheet : but cocoon refuses, and says : Caused by: javax.xml.transform.TransformerException: Impossible de trouver la fonction : if at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:608) i

Installation problem

2007-09-11 Thread Murali Krishna
Sir, I am installing cocoon2.1.10,using the inatall.txt of cocoon-2.1.10 folder extracted from http://cocoon.apache.org/mirror.cgi . But in step (3) of "intall.txt ",when i run "build" in command prompt of Windows Xp 2000 ,the build is failed .And the stack trace is as follows: BUILD FAILED

Re: XSLT Transformation error in C2.2

2007-09-11 Thread Tobia Conforto
Sébastien Geindre wrote: > I try to do this in a xslt stylesheet : > "if (...) then ... else ..." is not an XPath 1.0 expression! You have a few options. One is to use standard XSLT constructs: max_fub top Another is to define a custom function:

RE: Send CForm Data by EMail

2007-09-11 Thread Jasha Joachimsthal
Hi Raffaele, There is an other option: the SendMailTransformer [1]. You can best use Cocoon 2.1.10 for this transformer but it works fine in 2.1.9. [1] http://wiki.apache.org/cocoon/SendMailTransformer Jasha Joachimsthal Hippo Oosteinde 11 1017 WT Amsterdam The Netherlands +31 (0)20 5224466 w

XSLT Transformation error in C2.2

2007-09-11 Thread Sébastien Geindre
Hi all, I use C2.2. I try to do this in a xslt stylesheet : but cocoon refuses, and says : Caused by: javax.xml.transform.TransformerException: Impossible de trouver la fonction : if at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:608) it works with C2.1 Any idea

Send CForm Data by EMail

2007-09-11 Thread Merico Raffaele
Dear Community I have a CForm and I would like to send the user input to a given email address. From my point of view there are three possibilities to do it: - Coocon Action - Cocoon Logicsheet - by using Java within the Server-side Flow-Script Which is the best way to do it in Cocoon 2.1.9? For