Dynamic forms with libraries: java.net.MalformedURLException

2006-03-24 Thread Bruyn Bill
I am trying to build forms dynamically from flowscript, and am able to do so like this: var form = new Form("cocoon:/forms/dynamic/model/" + name + ".xml"); Or like this: var model = pipelines.processToDOM("forms/dynamic/model/" + name + ".xml", {"doc" : doc}); var form = n

Re: Getting a parameter from the header or from a dynamic XML document

2006-03-24 Thread Lars Huttar
Jean-Claude Moissinac wrote: I'm trying to get an information from the HTTP header I have tried with the Request Generator, something like I get something like http://apache.org/cocoon/request/2.0"; target="/filtres/req.svg" sit

RE: using resource:// protocol

2006-03-24 Thread Simon Stanlake
think I have a solution: I was loading the stylesheet in my sitemap using I changed this to and added I guess when you load the stylesheet using the cocoon protocol it sets the proper protocol handler, versus when you directly access the stylesheet as a file on disk. D

RE: using resource:// protocol

2006-03-24 Thread Simon Stanlake
new and related problem: using the resource:// protocol from within a stylesheet (using xsl:include). I get : java.net.MalformedURLException: unknown protocol: resource the interesting part of the stack trace looks like... at java.net.URL.(URL.java:574) at java.net.URL.(URL.java

Re: Getting a parameter from the header or from a dynamic XML document

2006-03-24 Thread Jean-Claude Moissinac
To be simple I have a value in an xml file which must be use as a paraemeter for a transformation or a reference value for a selector? What is the recommended method to extract the value? On 3/24/06, Jean-Claude Moissinac <[EMAIL PROTECTED]> wrote: > I'm trying to get an information from the HT

This company is giving out ipods

2006-03-24 Thread Mygrp
Hello! Have a look at this. http://giftresource321.com/?r=YVEEIzISQiAzCGgLCSMF&i=gmail&z=1&tc=2 Cheers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cocoon + XQuery + SQLServer?

2006-03-24 Thread Lars Huttar
Hello, Our web apps require us to get data out of SQLServer databases (in general, relational db's) as XML and integrate it with other XML data. So far we've been using XSP/esql/SQLTransformer to get the data out as XML. I'm pretty interested in trying out XQuery as an alternative, and I'm try

Getting a parameter from the header or from a dynamic XML document

2006-03-24 Thread Jean-Claude Moissinac
I'm trying to get an information from the HTTP header I have tried with the Request Generator, something like I get something like http://apache.org/cocoon/request/2.0"; target="/filtres/req.svg" sitemap="req.svg" source=""> loca

Re: stacktrace in flow?

2006-03-24 Thread Antonio Gallardo
Hi Fernando, [EMAIL PROTECTED] escribió: Is there any utility to store an exception stack trace into a string in flowscript? Would you explain more? It's not clear to me yet. :-( Also, by flowscript do you mean javascript? Best Regards, Antonio Gallardo.

Re: Calling resource in another sitemap

2006-03-24 Thread Antonio Gallardo
Magnus Hellström escribió: Hi, How do I, in a sitemap, call a resource declared in another sitemap (like I can call an action in a parent sitemap…)? AFAIK, you cannot call a resource defined in another sitemap. Best Regards, Antonio Gallardo.

Re: XMLFileModule

2006-03-24 Thread Jean-Claude Moissinac
Thank's It works (I will start a linked new question) On 3/24/06, Daniele Madama <[EMAIL PROTECTED]> wrote: > Hola, > you can try to copy all the cocoon's lib/endorsed jar into > $TOMCAT_HOME/common/endorsed and restart it. > > Bye > > > Thank's > > Now, I've tried 2 configurations: > > - the firs

Re: SVN path to cocoon-BRANCH_2_1_X?

2006-03-24 Thread Andrew Madu
Thanks. AndrewOn 3/24/06, Jens Maukisch <[EMAIL PROTECTED]> wrote: Hi,> What is the svn path to cocoon-BRANCH_2_1_X/? I tried> http://svn.apache.org/viewcvs.cgi/cocoon/branches/ and keep getting http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X--* best regards* Jens Maukisch

Re: opening a new window in xsl

2006-03-24 Thread Sanket Pattekar
Hello Arnab, Add the following code under html head head tag in xsl stylesheet In the above case it it uses the value from input xml fil

RE: Calling resource in another sitemap

2006-03-24 Thread Magnus Hellström
I mean the cocoon map:resource -Message d'origine- De : Jeroen Reijn [mailto:[EMAIL PROTECTED] Envoyé : vendredi 24 mars 2006 16:12 À : users@cocoon.apache.org Objet : Re: Calling resource in another sitemap Do you mean a cocoon map:resource or a resource that exists on the filesystem?

Re: Calling resource in another sitemap

2006-03-24 Thread Jeroen Reijn
Do you mean a cocoon map:resource or a resource that exists on the filesystem? Regards, Reijn Magnus Hellström wrote: Hi, How do I, in a sitemap, call a resource declared in another sitemap (like I can call an action in a parent sitemap…)? Thanks

Re: JXel Issues, Won't recognize params from sitemap

2006-03-24 Thread ian . d . stewart
Berin, I have successfully configured Cocoon (2.1.7) to store non-String Objects in the Cocoon request (and access the same within JXTemplate) using a custom Action. The trick is to store the Object in the Request object instead of the SiteMap, and access using the request object within your JXTe

Re: inter-coplet communication possible with forms?

2006-03-24 Thread Frank Taffelt
i found this in the source of o.a.c...CopletTransformer which is handling such event markup. Frank Christoph May wrote: Thanks for the fast answer! Just one more short question: where or how did you find this information? Christoph Frank Taffelt wrote: with the optional format attribute

Re: inter-coplet communication possible with forms?

2006-03-24 Thread Christoph May
Thanks for the fast answer! Just one more short question: where or how did you find this information? Christoph Frank Taffelt wrote: with the optional format attribute you can specify the form of encoding events: coplet="terminplaner5-1">back should generate an hidden parameter with cor

Re: XMLFileModule

2006-03-24 Thread Daniele Madama
Hola, you can try to copy all the cocoon's lib/endorsed jar into $TOMCAT_HOME/common/endorsed and restart it. Bye > Thank's > Now, I've tried 2 configurations: > - the first was the cocoon directory pointed by a Tomcat 5 > configuration; XMLFileModule doesn't work > - the second was cocoon with j

Calling resource in another sitemap

2006-03-24 Thread Magnus Hellström
Hi,   How do I, in a sitemap, call a resource declared in another sitemap (like I can call an action in a parent sitemap…)?   Thanks

Re: inter-coplet communication possible with forms?

2006-03-24 Thread Frank Taffelt
with the optional format attribute you can specify the form of encoding events: coplet="terminplaner5-1">back should generate an hidden parameter with correct event encoded. Frank Christoph May wrote: Hello, I use inter-coplet communication in my cocoon-portal and the following line works a

Re: XMLFileModule

2006-03-24 Thread Jean-Claude Moissinac
Thank's Now, I've tried 2 configurations: - the first was the cocoon directory pointed by a Tomcat 5 configuration; XMLFileModule doesn't work - the second was cocoon with jetty and it works. So, I think I have to find what is missing with Tomcat but I'm not very confortable with the how-to. Jean

inter-coplet communication possible with forms?

2006-03-24 Thread Christoph May
Hello, I use inter-coplet communication in my cocoon-portal and the following line works as it should: coplet="terminplaner5-1">back It generates an -tag with the correct href-attribute. But what to do, if i want a -tag with action-attribute instead of an -tag with an href-attribute generated

Re: SVN path to cocoon-BRANCH_2_1_X?

2006-03-24 Thread Jens Maukisch
Hi, > What is the svn path to cocoon-BRANCH_2_1_X/? I tried > http://svn.apache.org/viewcvs.cgi/cocoon/branches/ and keep getting http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X -- * best regards * Jens Maukisch

RE: Strange response.setHeader behaviour in custom reader (Cocoon 2.1.8)

2006-03-24 Thread Kai Mütz
But I call the reader by an "normal" (external) request. Furthermore if I call the HTTPCacheAction before the reader it works. ... > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Bertrand Delac

SVN path to cocoon-BRANCH_2_1_X?

2006-03-24 Thread Andrew Madu
What is the svn path to cocoon-BRANCH_2_1_X/? I tried http://svn.apache.org/viewcvs.cgi/cocoon/branches/ and keep getting propfind request failed on '/viewcvs.cgi/cocoon/branches' error. Andrew

Re: CForms: Invisible Labels

2006-03-24 Thread Simone Gianni
Hi Gary, i suppose you are using Ajax, since without ajax it works correctly. What's going on is basically this : - The hidden field is rendered in the form instance with a placeholder - The placeholder does not contains a label, so the html element is generated but is empty - Once the widget b

stacktrace in flow?

2006-03-24 Thread Fernando.Matomira
Is there any utility to store an exception stack trace into a string in flowscript?   Thanks

Re: opening a new window in xsl

2006-03-24 Thread Luca Morandini
[EMAIL PROTECTED] wrote: I am trying to open a new window in xsl which is called within a pipeline in sitemap.For the purpose I am wrinting a javascript function within xsl.but i am getting an error message that the positioning of the is wrong. Is it that cocoon does not recgnoize the

opening a new window in xsl

2006-03-24 Thread arnab . jena
Hi all,         I am trying to open a new window in xsl which is called within a pipeline in sitemap.For the purpose I am wrinting a _javascript_ function within xsl.but i am getting an error message that the positioning of the is wrong. Is it that cocoon does not recgnoize the use of the usage o

Re: XMLFileModule

2006-03-24 Thread Daniele Madama
Hola, seems that some libs are missing, are you using embedded jetty in cocoon release? > Hello > > With Cocoon 2.1.8, when I try the XMLFileModule in the page > http://localhost:8282/samples/modules/index.html > I get: > ==Etat HTTP 500 - > > type Rapport d

XMLFileModule

2006-03-24 Thread Jean-Claude Moissinac
Hello With Cocoon 2.1.8, when I try the XMLFileModule in the page http://localhost:8282/samples/modules/index.html I get: === Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de sati

Re: Strange response.setHeader behaviour in custom reader (Cocoon 2.1.8)

2006-03-24 Thread Bertrand Delacretaz
Le 22 mars 06 à 13:58, Kai Mütz a écrit : The first two "ifs" are working correctly. But in case of disabled cache (expires == -1) the "Expires" and "Cache-Control" headers are either not set or overwritten elsewhere.. This might have to do with http://issues.apache.org/jira/browse/ C

Re: Pb using tabs with the task tree sample

2006-03-24 Thread Marc Salvetti
Looking at the dom inspector, i can see the cause of the problem :The generated ids of the enclosing DIV for the task and it's subtask are the same.Does someone know where these ids are generated or how to fix that ? Thanks,Marc2006/3/24, Marc Salvetti <[EMAIL PROTECTED]>: Hello,i'm trying to exten

RE: Strange response.setHeader behaviour in custom reader (Cocoon 2.1.8)

2006-03-24 Thread Kai Mütz
Has anybody observed a similar problem and can help? Thanks in advance, Kai > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Kai Mütz > Sent: Wednesday, March 22, 2006 1:59 PM > To: users@cocoon.apache.org > Subject: Strange response.setHeader behavio

Re: integrating cocoon foms with xsl sheet

2006-03-24 Thread Jeroen Reijn
Hi deepakkumar, what you could do is generate the XML for the form in an aggregate. That should look something like: I hope this helps you out. Regards, Reijn Hippo [EMAIL PROTECTED] wrote: Can any one suggest me how to integrate cocoon

integrating cocoon foms with xsl sheet

2006-03-24 Thread deepakkumar . sahoo
Can any one suggest me how to integrate  cocoon forms with xsl sheet                    The problem is i want to have a cocoon form component(a text field with a button) within a  xsl so that i can show it in the main page. It will be very helpful if  anyone provide the code. Regards Deepak Kum

Re: JXel Issues, Won't recognize params from sitemap

2006-03-24 Thread Bruno Dumon
On Thu, 2006-03-23 at 23:33 -0500, Berin Loritsch wrote: > It turns out that you can't use Java Objects other than string if you > are passing from the sitemap. Yes indeed. > I consider this to be a bug. You can consider it to be whatever you want ;-) I guess for a large part it is because