Re: WebServiceProxyGenerator

2005-05-10 Thread Michael . Straessle
Hi Rajesh I had the same problem with 2.1.6. error message seems to be from commons http client and is logged to tomcat stdout. This was resolved when I upgraded to 2.1.7 - no more error messages of this type :-) HTH michael Rajesh Aravindakshan wrote: Cocoon 2.1.6 on Windows 2000. Hi, I am

Re: cocoon exception

2005-05-10 Thread Jorg Heymans
Search the mailinglist, this has come up numerous times. Thanks Jorg Adriano Smith wrote: hi, I keep getting this error in cocoon logs. Can someone please throw light on the cause of this error : I have no clue why suddenly it has started coming. Also, When this exception is seen i

Re: can I use the 2.1.7 portal in 2.1.5.1

2005-05-10 Thread Antonio Gallardo
On Mar, 10 de Mayo de 2005, 0:46, Johnson dijo: Hi! I'm using cocoon 2.1.5.1 for a while,and I want to use the portal in 2.1.7,can I do that? Never tried, but I guess the answer is no. Better you should try to upgrade to 2.1.7. BTW, you can do a simple test. Compile cocoon 2.1.7 and just

Re: [CForms] on-value-changed

2005-05-10 Thread Antonio Gallardo
Hi: Wich error you receive? BTW, Try the svn version 2.1.8-dev. Best Regards, Antonio Gallardo On Lun, 9 de Mayo de 2005, 9:50, Lionel Crine dijo: Hi, IE does not work with this code in my form definition : fd:on-value-changed javascript.../javascript /fd:on-value-changed Is there a

Re: Flow isDebugEnabled()

2005-05-10 Thread Antonio Gallardo
On Lun, 9 de Mayo de 2005, 23:38, Philippe Guillard dijo: Hi I've found this in Advanced Control Flow documentation: /Function/ [Boolean] isDebugEnabled() -- Returns whether debug message logging is enabled. I'd like to know if it's to speed performance? See:

Re: display tags from xml

2005-05-10 Thread Antonio Gallardo
On Lun, 9 de Mayo de 2005, 14:46, Fab Psycho dijo: Hi :) I'd like to display jx file content with html tags in it from an xsl but xsl:value-of select=text disable-output-escaping=yes doesn't work ... Something else exist in cocoon ? Can you explain a little bit more what you are trying

Re: dynamic cocoon.load(...)

2005-05-10 Thread Geert Josten
Flowscript is loaded at reading the sitemap file and only reloaded when the js file is changed (and reloading of flowscripts is activated, which is default). The problem with flowscript functions is that they have to return a 'result'. I am not actually sure, but I believe a function should end

cforms: mutliple booleanfields validation

2005-05-10 Thread Peter Kröpfl
Hi, I have mutliple booleanfield widgets and want to make sure, that at least one of them is checked. How would I do that? I allready searched this newsgroup for similar questions, but i could not find any. Looking at the samples I figured I could use fd:javascript and write my own validation

CForms + i18n

2005-05-10 Thread Johannes Becker
Hi, is there a tutorial or sample how to integrate i18n in a CForm? Couldn't find any information on this, except an old page http://www.ucc.ie:8080/cocoon/documents/howto/howto-i18n-xmlform.html Can I just do something like this?: fd:labeli18n:text key=password//fd:label Thanks Jonny

is cocoon the right solution for my need (suggested answer: YES, but why)

2005-05-10 Thread Wojciech Biela
Hi! if this text is too long tell me, I'll try to repost it in a shorter version. didn't want to be misunderstood so I elaborated a bit. I've seen something that touches the subject but here http://www.planetcocoon.com/node/1710, but I believe my question is a bit different. Nevertheless that

Re: can I use the 2.1.7 portal in 2.1.5.1

2005-05-10 Thread Jean-Christophe Kermagoret
Hello, I used cocoon portal 2.1.7 with cocoon 2.1.5.1. It works without any problems. I just had to add a few classes from cocoon-2.1.7 to cocoon-2.1.5 (extract .class from 2.1.7.jar and add them to the 2.1.5.jar) But, why not going to 2.1.7 now ? HTH Antonio Gallardo a écrit : On Mar, 10 de

Re: dynamic cocoon.load(...)

2005-05-10 Thread Guido Casper
The way I do it is by declaring a global variable like var myFunction; and than load the script within another function: function loadAndRunScript() { var x = cocoon.request.get(id); cocoon.load(foo+x+.js); myFunction(); } The loaded Script looks like: myFunction =

Newbie question about XSP and XSLT

2005-05-10 Thread Xoan
Hi all, I apologize for the obvious question. Perhaps this is not the right place to present it. I am using Cocoon and XSP to query eXist (native xml database).I have a xsp that performs a query on eXist using the following code: xsp:page language=javascript

Re: Newbie question about XSP and XSLT

2005-05-10 Thread Derek Hohls
Xoan Not too hard ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; !-- root -- xsl:template match=/ xsl:apply-templates/ /xsl:template !-- your node -- xsl:template match=xmlcode bxsl:apply-templates//b /xsl:template !-- others;

CForms and i18n

2005-05-10 Thread Johannes Becker
Hi, (Sorry this post accidently ended up in cforms: multiple boolenfields validation-thread) my question: is there a tutorial or sample how to integrate i18n in a CForm? Couldn't find any information on this, except an old page

Re: Newbie question about XSP and XSLT

2005-05-10 Thread Xoan
Thanks Derek, It works fine! Regards, Xoan 2005/5/10, Derek Hohls [EMAIL PROTECTED]: Xoan Not too hard ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; !-- root -- xsl:template match=/ xsl:apply-templates/

Re: CForms and i18n

2005-05-10 Thread Sebastien Arbogast
Can I just do something like this?: fd:labeli18n:text key=password//fd:label Yes you can. It's as simple as that. Just don't forget to declare i18n namespace and everything should work fine. (It works for me). That's probably why there is no need of a tutorial. And the one you indicate deals

is there different for i18n between 2.1.5.1 and 2.1.7?

2005-05-10 Thread Johnson
Hi! I'm using 2.1.5.1 now,and trying to transfer to 2.1.7 I set form-enconding to UTF-8 in 2.1.5.1,everything is good. But when I set it in 2.1.7,input some chinese text,it show ?? in the i18n sample XSP input and some wrong font in my cform. if I set to ISO-8859-1 the i18n sample work

RE: is cocoon the right solution for my need (suggested answer: YES, but why)

2005-05-10 Thread Nathaniel Alfred
-Original Message- From: Wojciech Biela [mailto:[EMAIL PROTECTED] Sent: Dienstag, 10. Mai 2005 13:57 To: users@cocoon.apache.org Subject: is cocoon the right solution for my need (suggested answer: YES, but why) So finally the

Re: dynamic cocoon.load(...)

2005-05-10 Thread WeeZard
Thank you very much. This actualy works :-) Weez. - Original Message - From: Guido Casper [EMAIL PROTECTED] To: users@cocoon.apache.org Sent: Tuesday, May 10, 2005 2:04 PM Subject: Re: dynamic cocoon.load(...) The way I do it is by declaring a global variable like var myFunction; and

Re: is there different for i18n between 2.1.5.1 and 2.1.7?

2005-05-10 Thread Johnson
I'm using xindice to store the data If I save it to xindice and resore it from xindice,the code is wrong this is on UTF-8(form-encoding) and the i18n sample wrong too in it. Johnson - Original Message - From: Johnson To: users@cocoon.apache.org Sent: Tuesday, May

Re: Cinclude transforms very *slow* [ was Re: Speeding up an xinclude transform?]

2005-05-10 Thread Marc Salvetti
Hello, i had pretty much the same problem, a large number of small files to aggregate, and i finally found the xpathdirectorygenerator, which is pretty straightforward to use, doesn't have the caching issues of document() function, and is faster than the technique of xinclude and cinclude on a

Re: Newbie question about XSP and XSLT

2005-05-10 Thread Xoan
Hi Derek, I don't want to be annoying but if you could help me again I would be grateful. I have slightly modified the xsl you sent me. The reason was for not to replace the element but only to format it (copy-of): !-- your node -- xsl:template match=xmlcode bxsl:copy-of select=.//b

Re: display tags from xml

2005-05-10 Thread Fab Psycho
Hi :) My jx is : mytext h1texttitle/h1 text inumber 1/i ... /mytext my xsl displays text withxsl:value-of select=mytext ...Problem is h1, i and all other tags are ignored :( ... Regards, Fab From: Antonio Gallardo [EMAIL PROTECTED] Reply-To: users@cocoon.apache.org To:

Problem with FlowScript

2005-05-10 Thread Christian Tanzmann
Hi, I will control the length of a requested String object in a FlowScript but it dont function. Here the example: var pwd1 = new String(); pwd1 = cocoon.request.get(password1); if (pwd1.length 5) { var message = Password to short! cocoon.sendPage(view/editUserAccount + EXT,

cocoon under tomcat

2005-05-10 Thread Arsen A. Gutsal
why my cocoon start twice on tomcat? I tried 3 different configurations. sorry, I guess this is dummy issue, but I can't find the answer quickly. -- Arsen A. Gutsal [EMAIL PROTECTED] SOFTSKY Inc - To unsubscribe, e-mail:

Re: create a file ...

2005-05-10 Thread Fab Psycho
Tibor, What object to use for 'document' ? I tried with var doc=test; saveDocument (doc, test.txt) - Can't find method org.apache.cocoon.xml.dom.DOMStreamer.stream(string) Regards, Fab From: oceatoon [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: users@cocoon.apache.org Subject: Re: create

flowscript - how to replace in real java

2005-05-10 Thread Johannes Becker
Hi, I'm trying to rewrite some flowscript (from CHS) for my java class, but have no clue how to replace this part: importClass(Packages.org.springframework.web.context.WebApplicationContext); ... function getPetStore() { var appCtx =

Re: Newbie question about XSP and XSLT

2005-05-10 Thread [EMAIL PROTECTED]
Xoan wrote: [...] It works correctly, but actually, my intention is to apply the format not to the xmlcode element, but another elements inside it. Moreover I only want to apply this format to the reportId elemnts inside xmlcode. It is possible the existence of reportId elements outside xmlcode,

Re: Creating Java objects in JX templates with JEXL?

2005-05-10 Thread Leszek Gawron
Jochen Kuhnle wrote: Leszek Gawron [EMAIL PROTECTED] wrote on 09.04.2005 08:06:53: Mark Lundquist wrote: jx:set var=map value=${java.util.HashMap()}/ jx:set var=myBean value=${Packages.com.mycompany.MyBean(1,2)}/ Hmm, the JXTemplateGenerator from Cocoon 2.1.8-dev evaluates these expressions as

Re: tasklist example : indent and unindent actions ?

2005-05-10 Thread Leszek Gawron
Jean-Christophe Kermagoret wrote: Hello, the tasklist is very interesting. I saw the row-actions that are very useful. But I need, of course, the ones that aren't present :-( Is there anybody that has already implemented the move-left and move-right actions to 'indent' and 'unindent' tasks ?

Re: cocoon under tomcat

2005-05-10 Thread Leszek Gawron
Arsen A. Gutsal wrote: why my cocoon start twice on tomcat? I tried 3 different configurations. sorry, I guess this is dummy issue, but I can't find the answer quickly. probably because you deployed it twice by mistake. check directory names and .war filenames in tomcat/webapp directory. --

Re: flowscript - how to replace in real java

2005-05-10 Thread Leszek Gawron
Johannes Becker wrote: Hi, I'm trying to rewrite some flowscript (from CHS) for my java class, but have no clue how to replace this part: importClass(Packages.org.springframework.web.context.WebApplicationContext); ... function getPetStore() { var appCtx =

Re: flowscript - how to replace in real java

2005-05-10 Thread Johannes Becker
Hi, I'm trying to combine the CHS (Cocoon + Hibernate + Spring) example with the authentication-fw. For example: User comes and has to login - only after succesful login he is able to see the products and shop - ... Since the CHS has its own datasource and sessionfactory I want to reuse them

Re: flowscript - how to replace in real java

2005-05-10 Thread Sebastien Arbogast
I'm trying to combine the CHS (Cocoon + Hibernate + Spring) example with the authentication-fw. For example: User comes and has to login - only after succesful login he is able to see the products and shop - ... Since the CHS has its own datasource and sessionfactory I want to reuse

Re: create a file ...

2005-05-10 Thread oceatoon
As you can see in the savedocument implementation is for XML files you could surely modify it for simple text files check this: http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html and http://java.sun.com/j2se/1.4.2/docs/api/java/io/FileInputStream.html and

Re: flowscript - how to replace in real java

2005-05-10 Thread Johannes Becker
Hi, If you're interested I can give you my functions and you'll see authentication framework is not compulsory when using Spring. I'd be very thankful. I'm struggling with this for days. My email: [EMAIL PROTECTED] Do your functions provide the some kind of similar functionallity as the

CookieCreatorAction in 2.1.7

2005-05-10 Thread Silvela, Jaime \(Exchange\)
Hi, Ive just started using Cocoon 2.1.7 and have to port to it a website that was built using 2.1.6 I can build the website just fine, but when I go to it from my browser, it complains Could not load class org.apache.cocoon.acting.CookieCreatorAction Ive found that class in the

Re: flowscript - how to replace in real java

2005-05-10 Thread Sebastien Arbogast
I'd be very thankful. I'm struggling with this for days. My email: [EMAIL PROTECTED] I know exactly what you mean. :-P Do your functions provide the some kind of similar functionallity as the authentication-fw? So far I'm not sure it does exactly everything that the authentication

Re: flowscript - how to replace in real java

2005-05-10 Thread Johannes Becker
Thanks a lot. I'll have a look at it as soon the page is up. Jonny Sebastien Arbogast wrote: I'd be very thankful. I'm struggling with this for days. My email: [EMAIL PROTECTED] I know exactly what you mean. :-P Do your functions provide the some kind of similar functionallity as the

RE: display tags from xml

2005-05-10 Thread Conal Tuohy
Fab Psycho wrote: My jx is : mytext h1texttitle/h1 text inumber 1/i ... /mytext my xsl displays text withxsl:value-of select=mytext ...Problem is h1, i and all other tags are ignored :( ... This is correct behaviour for xsl:value-of. It is supposed to copy the STRING