Re: ProblemspassingparameterstoXSP

2004-04-21 Thread Jan Hoskens
When calling another pipeline, you can't pass parameters (As far as I know). I had the same problem a while ago. I then just passed the parameters as request parameters by calling src=cocoon:/Pipeline/mypage.jsp?firstparam={1}. Another option is to set your parameters in a session by invoking an

Re: sitemap problem

2004-04-21 Thread Jan Hoskens
I'm using flow and I have the same configuration except for your map:flow-interpreters tag. Try omitting that tag, maybe that helps. Kind Regards, Jan - Original Message - From: Vlad Ali [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 9:07 PM Subject: sitemap

Re: Flowscript to Uploadfile

2004-04-21 Thread olivier demah
Jeroen Reijn a écrit : maybe i'm thinking in the wrong direction, but the error messege says that it's getting a String. Is your form type correct(multipart) ? That was this i forgot to add to my form ... Thanks for the 2 cents :)

Re: redirect problem with flowscript : No pipeline matched request: safe_user_area

2004-04-21 Thread Jan Hoskens
As found on http://cocoon.apache.org/2.1/userdocs/flow/api.html To send: cocoon.sendPage("mypipeline", {} ); I think the function expects a biz data (bean) to be delivered (thus two parameters, not one), so just give {}. To redirect: cocoon.redirectTo("mypipeline"); Kind Regards, Jan

Re: cocoon under eclipse

2004-04-21 Thread Jean-Christophe Kermagoret
Hi Flavio, A few months ago, I had this error because the component wasn't declared. To do this, I add the following file. I think you can declare these components directly in cocoon.xconf, but it works this way for me. roles.xconf -- role-list role

Re: Coplets, cl:link - problems with sending and receivingparameters

2004-04-21 Thread Jean-Christophe Kermagoret
Hi, You can just use the {coplet:attributes/name_of_attribute_defined_for_your_coplet} in a parameter in your sitemap like usual : map:parameter name=category value={coplet:attributes/category}/ This way, you can get it in your stylesheet or xsp (I think because I don't use xsp)

Re: Calendar Generator

2004-04-21 Thread Ugo Cei
Sorry to drop into this discussion this late, but I completely failed to notice it and started to implement a CalendarGenerator by myself. You can find it in CVS head [1]. I took the opposite road form the one advocated by Geoff. My CalendarGenerator is designed to output a blank calendar for

Re: Hibernate vs. reload-scripts

2004-04-21 Thread Reinhard Poetz
Christopher Oliver wrote: What error do you get? AFAIK it should work. Why exactly does hibernate need to see all your persistent classes in the classpath? I guess that Hibernate comes with its own classloader. Maybe it is possible to set the compiling classloader dynamically. Mark

Portal in cocoon 2.1.5

2004-04-21 Thread zze-MORON François FTRD/DMI/REN
Title: Portal in cocoon 2.1.5 Is portal sample still included in Cocoon 2.1.5 (I built a CVS version this morning and had an unknown ressource error Trying to reach url http://localhost:8080/samples/portal) ? François

Re: Portal in cocoon 2.1.5

2004-04-21 Thread Reinhard Poetz
zze-MORON François FTRD/DMI/REN wrote: Is portal sample still included in Cocoon 2.1.5 (I built a CVS version this morning and had an unknown ressource error Trying to reach url _http://loca__lhost:8080/samples/portal_ http://localhost:8080/samples/portal) ? François Yesterday it worked for

Re: Flowscript and XSLT

2004-04-21 Thread Reinhard Poetz
beyaNet Consultancy wrote: Hi, 1. is it possible to apply a stylesheet to a *.jx file like you can to xsp? map:match pattern=*.jx map:generate type=jx src=jx/{1}.jx/ map:transform type=xslt src=style/main.xsl/ map:serialize type=xhtml/ /map:match If not, why? Surely not being able to apply a

Re: Best Practices for Debugging XML?

2004-04-21 Thread laurent_rorive
Hi, Just use cocoon-view ! Define a view like this. ex: map:view from-label=aftergenerator name=aftergenerator map:serialize type=xml / /map:view map:view from-label=afterwoody name=afterwoody map:serialize type=xml / /map:view map:view from-label=aftertemplate

AW: Best Practices for Debugging XML?

2004-04-21 Thread Majcen, Kurt
Title: Nachricht Hi, which version of cocoon? - for 2.0.3 you could try http://outerthought.net/captor.htmlwhich proves rather practical if you have a couple of subsequential transformations and you want to view the intermediate results. Regards Kurt -Ursprüngliche

Re: Portal in cocoon 2.1.5

2004-04-21 Thread Reinhard Poetz
Reinhard Poetz wrote: zze-MORON François FTRD/DMI/REN wrote: Is portal sample still included in Cocoon 2.1.5 (I built a CVS version this morning and had an unknown ressource error Trying to reach url _http://loca__lhost:8080/samples/portal_ http://localhost:8080/samples/portal) ? François

RE: Portal in cocoon 2.1.5

2004-04-21 Thread Carsten Ziegeler
The samples have been refactored. Go th http://localhost:/ (or whatever port you use) and then find your way to the samples - block samples - unstable blocks/portal. Carsten -Original Message- From: Reinhard Poetz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 12:08

Re: Coplets, cl:link - problems with sending and receivingparameters

2004-04-21 Thread Philippe Guillard
Thanks Jean-Christophe, Actually my problem was resolved using URI coplets instead of CachingURI coplets. Don't know why, except that CachingURI uses portal-html-eventlink transformer. Regards, Phil On Wed, 2004-04-21 at 17:06, Jean-Christophe Kermagoret wrote: Hi, You can just use the

Sendmail question

2004-04-21 Thread Philippe Guillard
Hi all, Question1: I'm using Sendmail logicsheet, works good exept serverpage generator takes 5/10 seconds for it. I don't have hosting and mail is sent from [EMAIL PROTECTED] like the samples from my Linux. I'd like to hear from people who have this in real environment with configured mail

Re: Flowscript and XSLT

2004-04-21 Thread beyaNet Consultancy
Hi, in the following sitemap snippet: map:match pattern=registerd_user_area> !--map:act type=auth-protect> map:parameter name=handler value=beyarecords/>--> map:aggregate element=home> map:part src=cocoon:/support/menu/> map:part src=cocoon:/support/contract-summary/> map:part

Re: Sendmail question

2004-04-21 Thread Jan Hoskens
Maybe you should consider another way (non XSP). I have some long-duration tasks which include email a result to different addresses. I do this by calling flowscript, setting everything up (configs/parameters) and then launching a thread. At the end of this thread, I use java mail to send emails.

XSP and sitemap parameters

2004-04-21 Thread Carmona Perez, David
Hi, Does anybody know how to pass sitemap parameters to an XSP page? Can I do? map:generate type='xsp' map:parameter name='my-param' value='something'/ /map:generate How do I retrieve this parameter from the XSP code? Thanks for any answer.

Confused: 2.1.3 - pseudoprotocols, sources and factories - what API?

2004-04-21 Thread Sandor Spruit
Folks, I'm a bit confused about pseudoprotocols, sources and factories. I'm trying to figure out how this works in Cocoon 2.1.3 and beyond. I'll need this in the near future for some work on a custom source. (I know Cocoon 2.1.4 is out but I'm still setting up my system to cope with upgrades

RE: XSP and sitemap parameters

2004-04-21 Thread Carmona Perez, David
Thanks. I think there is other way xsp:exprparameters.getParameter("my-param")/xsp:expr -Mensaje original-De: beyaNet Consultancy [mailto:[EMAIL PROTECTED]Enviado el: miércoles, 21 de abril de 2004 15:30Para: [EMAIL PROTECTED]Asunto: Re: XSP and sitemap parameters try,

Re: XSP and sitemap parameters

2004-04-21 Thread olivier demah
Carmona Perez, David a écrit : Thanks. I think there is other way xsp:exprparameters.getParameter(my-param)/xsp:expr parameters requiers 2 parms if i'm not wrong : parameters.getParameter(your-parm,defaultvalue); - To

Re: Sendmail question

2004-04-21 Thread Joose Vettenranta
Hi, I have created sendmail transformer (although, not yet released) to send emails. Transformer is still little buggy and requires little bit rewriting. We are releasing it as GPL when it's ready. Maybe doing something like this helps? - Joose 21.4.2004 kello 14:50, Philippe Guillard

Re: XSP: cinclude and map:parameters problem

2004-04-21 Thread Andreas Hartmann
olivier demah wrote: [...] So i thought ; i had to do something to pass parameters from xsp to xsp because i call news.xsp with cinclude. This does not work. Your compiled XSP is executed _before_ the CInclude transformation, so including another XSP is not possible this way. -- Andreas

Re: XSP: cinclude and map:parameters problem

2004-04-21 Thread olivier demah
Andreas Hartmann a e'crit : olivier demah wrote: [...] So i thought ; i had to do something to pass parameters from xsp to xsp because i call news.xsp with cinclude. This does not work. Your compiled XSP is executed _before_ the CInclude transformation, so including another XSP is not

RE: XSP and sitemap parameters

2004-04-21 Thread Carmona Perez, David
There are 2 versions: one that throws a ParameterException if not provided the default value, and the other you have commented. I have tried out and it works!. -Mensaje original- De: olivier demah [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 21 de abril de 2004 16:01 Para: [EMAIL

RE: tomcat 5.0.19 and coccon 2.1.4

2004-04-21 Thread Isidro Vila Verde
Well, I solve the problem by manually copy jar files from $DOWNLOAD_DIR/cocoon-2.1.4/build/cocoon-2.1.4/blocks/ (jxforms-block.jar, woody-block.jar, ...) to $CATALINA_HOME/work/Catalina/localhost/cocoon/loader and unpack them. That's all. I don't see why it wasn't extracted automatically

Re: XSP and logicsheets namespaces inclusions

2004-04-21 Thread Olivier Billard
Really many thanks for your answer Christopher In fact, we are using the use-store=true option, and we will try using the false. Thank you very much, this problem is also annoying us for long time... I'll write back results ! -- Olivier Christopher Painter-Wakefield wrote: Olivier, we are

Re: XSP and sitemap parameters

2004-04-21 Thread Martin Holz
olivier demah [EMAIL PROTECTED] writes: Carmona Perez, David a écrit : Thanks. I think there is other way xsp:exprparameters.getParameter(my-param)/xsp:expr parameters requiers 2 parms if i'm not wrong : parameters.getParameter(your-parm,defaultvalue); There are two versions

Re: Woody/Cocoon forms questions

2004-04-21 Thread Sebastian
Since this error is on the aggregate-widget and that one is not actually on the template, there is no position where the (!) should be next to. Therefor you need to explitely position it with a separate ft:validation-error / see also here:

Re: how to initiate a CVS update from within Cocoon?

2004-04-21 Thread Upayavira
Lars Huttar wrote: Hi all, We're a team developing a Cocoon application, and we're sharing our code (cocoon/mount/**) via CVS. We have a test server, which we'll call salem, on which resides a copy of Tomcat and Cocoon and our code. The goal is to have a process for updating certain folders on

Re: [portal] Opening portal page from CachingURICoplet's flow

2004-04-21 Thread Alex Romayev
I've posted this a few days ago -- let's give it another try :) --- Alex Romayev [EMAIL PROTECTED] wrote: I have implemeneted registration form as a CForm inside a CachingURICoplet. At the end of registration (on confirm) I need to do the following in my flowscript: 1. Write results to

HttpSession cocoonportal tomcat

2004-04-21 Thread Anna Bikkina
Hi, I have a very peculiar problem with my application. Can someone please shed some light on this. I have a webapplication(app1) whose logon page loads 2 frames. Frame1 has index.jsp from app1 and frame2 has my app from cocoon(app2).This app in cocoon uses cocoon's portal framework. When

Re: Flowscript and XSLT

2004-04-21 Thread Reinhard Poetz
Have you tried replacing the map:aggregate with map:generate? Does it return a result? And what happens if you request registerd_user_area? -- Reinhard beyaNet Consultancy wrote: Hi, in the following sitemap snippet: map:match pattern=registerd_user_area !--map:act

Re: HttpSession cocoonportal tomcat

2004-04-21 Thread Anna Bikkina
Hi just an update on the post below. I guess this is more to do with cocoon's handling of sessions. My application(app1) firsts logs onto cocoon's portal and then logons to itself. The session of cocoon is somehow getting invalidated when my app1 is getting logged in. I tried the same with an

Re: Flow-Woody-Event-Woody... possible?

2004-04-21 Thread Joerg Heinicke
On 21.04.2004 07:45, Steve Steinitz wrote: I had the same problem yesterday too: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=108238973125352w=4 and fixed it by changing the order of the form widgets in the definition. Furthermore my form.submitId was also null at the end, while

Re: Reference to undeclared namespace prefix: 'xmldb'.

2004-04-21 Thread Joerg Heinicke
On 20.04.2004 15:24, Nina Juliadotter wrote: Hi everyone, I've finally managed to get Cocoon and Xindice to talk to eachother :) but I get this evil error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or

Re: redirect problem with flowscript : No pipeline matched request: safe_user_area

2004-04-21 Thread Joerg Heinicke
On 21.04.2004 09:09, Jan Hoskens wrote: As found on http://cocoon.apache.org/2.1/userdocs/flow/api.html To send: cocoon.sendPage(mypipeline, {} ); I think the function expects a biz data (bean) to be delivered (thus two parameters, not one), so just give {}. AFAIK JavaScript can live with

Re: Flow-Woody-Event-Woody... possible?

2004-04-21 Thread Christopher Oliver
Never create continuations in an event handler. If you do the continuation stack is only that of the event handler and the original script will _not_ resume when the event handler completes. In other words the call stack looks like this Java (FlowInterpreter.callFunction(myFunction)) = JS