Re: Proccesing "normal" form data with flow

2006-02-21 Thread Derek Hohls
Bertrand Thanks, that makes sense. The problem, though, is how to get all the IDs of all checkboxes that have been checked, where the total number of checkeboxes and their IDs, vary from case to case (sorry, should have been more specifc in my original request). Derek >>> [EMAIL PROTECTED] 20

Re: Practical Demo of CForms?

2006-02-21 Thread Derek Hohls
If you are getting started with AJAX, I would recommend the IBM tutorials; they deal with browser-specific issues: http://www-128.ibm.com/developerworks/web/library/wa-ajaxintro1.html http://www-128.ibm.com/developerworks/web/library/wa-ajaxintro2/?ca=dnw-702 also: http://today.java.net/pub/a

Re: Flowscript continuation from external reply: SOLVED!

2006-02-21 Thread Derek Hohls
Andrew Could you perhaps add some sample code to the wiki site to help the next poor bloke that has to attempt this?! Thanks Derek >>> [EMAIL PROTECTED] 2006/02/22 04:41 AM >>> Hi, just to let you know that I have successfully implemented webservice calls to Paypal into my site via flowscrip

RE: CForms: HTMLArea Documentation

2006-02-21 Thread Derek Hohls
Gary Well, I think the issue does need to get raised... maybe someone has thought about it before, but just not gotten aroud to dealing with it. And version 2.1.9 is about to be released Derek >>> [EMAIL PROTECTED] 2006/02/21 05:19 PM >>> > Is this something that needs to be taken up

Re: cocoon&hibernate tutorial

2006-02-21 Thread zulhisham abu nawar
i'm back ;-)...now i'm using cocoon 2.1.7, hibernate 2.1.6 (same like tutorial). I'm still got the errors when i compiled file.java...Through this tutorial, i should download hibernate and copy some files.jar to /WEB-INF/lib. Here should i build hibernate file??Then for files.java (PersistenceFact

Re: Flowscript continuation from external reply: SOLVED!

2006-02-21 Thread Andrew Madu
Hi, just to let you know that I have successfully implemented webservice calls to Paypal into my site via flowscript. Andrew Andrew Madu wrote: Hi Simone, I supposed you was not going to call a webservice (which is server to server comunication) but send the user to another site, an

Re: Practical Demo of CForms?

2006-02-21 Thread Patrick Refondini
Berin Loritsch wrote: Is there anything out there that is a decent demonstration of AJAX and Cocoon Forms? I'm looking for something that's a bit better of a tutorial than the online documentation. There is Apache Cocoon 2.1.8 online block forms samples, those with (ajax) mentioned. http://c

Practical Demo of CForms?

2006-02-21 Thread Berin Loritsch
Is there anything out there that is a decent demonstration of AJAX and Cocoon Forms? I'm looking for something that's a bit better of a tutorial than the online documentation. Also, can anyone tell me whether the AJAX is compatible with IE 5.5? ---

Re: cocoon 2.1.8 - portal framework - getting startet with it

2006-02-21 Thread Ralph Goers
What kind of portlets? Cocoon supports JSR-168, WSRP as well as Cocoon portlets (essentially, cocoon pipelines that are rendered as portlets). The best way to learn about Cocoon is to look at the portal sample site. The minimum steps to add your own portlet depend on what kind it is. JSR-168 p

RE: CForms: Global JavaScript Variables?

2006-02-21 Thread Stewart, Gary
Philippe Gassmann ([EMAIL PROTECTED]) wrote: > Have you try to set your object as a form attribute ( > form.setAttribute("myDOM",doc); ) ? > > You can then get you object by form.getAttribute("myDOM"); Thanks for that. It works. Though for the achieve and additional notes you can't do that on

Re: Flowscript continuation from external reply

2006-02-21 Thread Bertrand Delacretaz
Le 21 févr. 06 à 17:57, Andrew Madu a écrit : ...Could you direct me to any documentation on calls to webservices from cocoon within flowscript?.. Have a look at http://wiki.apache.org/cocoon/FlowAndWebServices - dunno how well this works but it might be worth testing. -Bertrand smime.p7s

Re: Flowscript continuation from external reply

2006-02-21 Thread Andrew Madu
Hi  Simone,I don't know of any facility for calling webservices directly from inside a flowscript. I think you will have to use any webservice engine/client you need (Axis, of HTTPClient if it's a rest or whatever else) as if you were going to use it inside any other web technology or java program.

Re: Flowscript continuation from external reply

2006-02-21 Thread Simone Gianni
Andrew Madu wrote: Hi Simone, I supposed you was not going to call a webservice (which is server to server comunication) but send the user to another site, and then receive back (thru the user browser) the result of the transaction. This is what i asked in the first few lines of my first

Re: Flowscript continuation from external reply

2006-02-21 Thread Andrew Madu
Hi Simone, I supposed you was not going to call a webservice (which is server to server comunication) but send the user to another site, and then receive back (thru the user browser) the result of the transaction. This is what i asked in the first few lines of my first answer. If you have

Re: Flowscript continuation from external reply

2006-02-21 Thread Simone Gianni
Hi Andrew, I supposed you was not going to call a webservice (which is server to server comunication) but send the user to another site, and then receive back (thru the user browser) the result of the transaction. This is what i asked in the first few lines of my first answer. If you have to ca

Re: CForms: Global JavaScript Variables?

2006-02-21 Thread Philippe Gassmann
Have you try to set your object as a form attribute ( form.setAttribute("myDOM",doc); ) ? You can then get you object by form.getAttribute("myDOM"); Stewart, Gary a écrit : Hi there and sorry to bother with *yet another CForms question*, I have a CForms form that loads an external XML docu

Re: cinclude usage/alternatives

2006-02-21 Thread Lars Huttar
Bruyn Bill wrote: For various reasons, I need to retrieve some markup from a remote resource, and insert my jx result inline. e.g., I have some remote file called wrapper.xhtml that looks like "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.

Re: error in cocoon-2.1.7..

2006-02-21 Thread Bruno Dumon
On Tue, 2006-02-21 at 07:36 -0700, Jason Johnston wrote: > [EMAIL PROTECTED] wrote: > > Hi Simone, > > > > The same stuffs seem to be working with cocoon2.1.5. > > Anything we need to add with cocoon 2.1.7 to make this work. > > Please suggest us something so that we go ahead and try out with coco

RE: CForms: HTMLArea Documentation

2006-02-21 Thread Stewart, Gary
> Is this something that needs to be taken up on the dev list? Not sure. If you think it would I can forward it up there (though I'd have to join the dev list). > I am sure that htmlArea was the best choice at the time > that the CForms package was first put together, but some > technology ju

CForms: Global JavaScript Variables?

2006-02-21 Thread Stewart, Gary
Hi there and sorry to bother with *yet another CForms question*, I have a CForms form that loads an external XML document in the on-create function of the form (though the data doesn't change and therefore could be loaded in the flowscript instead if this would be easier). I parse it into a DOM

cocoon 2.1.8 - portal framework - getting startet with it

2006-02-21 Thread smailinglist
Hi, i´m new to this list so first greetings @ all. i´ve searched a lot in the web but i´ve found no information about cocoon portal and "starting from scratch". that means not to rewrite all functionality but i´ve started a subapplication in cocoon and want to use the portal framework. so what a

Re: Flowscript continuation from external reply

2006-02-21 Thread Andrew Madu
Hi Simone,1) Instead of using redirectTo, set up a page with a link to the external site (like a jx page), then use sendPageAndWait to send this page to the user, he will click on the link, go to the external site and all the rest, while your flow will be suspended until the external site will redi

Re: Coccoon 2.1.7

2006-02-21 Thread Jason Johnston
[EMAIL PROTECTED] wrote: > Hi All, > > I want to know where I can get the cocoon 2.1.7 source to build. Follow the "Older Distributions Archive" link on http://cocoon.apache.org/mirror.cgi > Will v2 API work on cocoon 2.1.7 version? > > If not any patches we can update to make v2 API work with

Re: Flowscript continuation from external reply

2006-02-21 Thread Simone Gianni
Andrew Madu wrote: Hi Simone, many thanks for your suggestions. You're welcome :) How so? This is what comes back to me: www.mysite.com/continuation-id/value-returned What happens next? How do I get the value-returned into the if statement following the var bizdat

Re: error in cocoon-2.1.7..

2006-02-21 Thread Jason Johnston
[EMAIL PROTECTED] wrote: > Hi Simone, > > The same stuffs seem to be working with cocoon2.1.5. > Anything we need to add with cocoon 2.1.7 to make this work. > Please suggest us something so that we go ahead and try out with cocoon > 2.1.7. > It's really impossible to tell what is going wrong wit

Re: Flowscript continuation from external reply

2006-02-21 Thread Jason Johnston
Andrew Madu wrote: > Hi Simone, > many thanks for your suggestions. > >> 1) Instead of using redirectTo, set up a page with a link to the >> external site (like a jx page), then use sendPageAndWait to send this >> page to the user, he will click on the link, go to the external site >> and all the

RE: error in cocoon-2.1.7..

2006-02-21 Thread baskar.ganesh
Hi Simone, The same stuffs seem to be working with cocoon2.1.5. Anything we need to add with cocoon 2.1.7 to make this work. Please suggest us something so that we go ahead and try out with cocoon 2.1.7. Regards, Baskar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE

Coccoon 2.1.7

2006-02-21 Thread baskar.ganesh
Hi All,   I want to know where I can get the cocoon 2.1.7 source to build. Will v2 API work on cocoon 2.1.7 version? If not any patches we can update to make v2 API work with the cocoon 2.1.7 version.   Thanks and Regards, Baskar     The information contained in this electr

Re: cocoon.sendPage and bizData

2006-02-21 Thread Bertrand Delacretaz
Le 21 févr. 06 à 15:17, Johannes Textor a écrit : ...Sure ? if I get this correctly, it is equivalent to cocoon.sendPage("test.jx", { name : "test", id : "identifier" } );.. Yes, after rereading the question you're right, sorry for the noise. So the problem is probably in test.jx. -Bertran

Re: cocoon.sendPage and bizData

2006-02-21 Thread Johannes Textor
Bertrand Delacretaz schrieb: > Le 21 févr. 06 à 14:57, Angelo Immediata a écrit : > >> ...var bizData = { >> >> name : "test", >> id : "identifier" >> } >> >> cocoon.sendPage("test.jx", bizData);.. > > > Should be > > cocoon.sendPage("test.jx", { "bizData" : bizData} ); > > -Bertrand Sure ? if I

Re: Flowscript continuation from external reply

2006-02-21 Thread Andrew Madu
Hi Simone,many thanks for your suggestions.1) Instead of using redirectTo, set up a page with a link to the external site (like a jx page), then use sendPageAndWait to send this page to the user, he will click on the link, go to the external site and all the rest, while your flow will be suspended

Re: cocoon.sendPage and bizData

2006-02-21 Thread Bertrand Delacretaz
Le 21 févr. 06 à 14:57, Angelo Immediata a écrit : ...var bizData = { name : "test", id : "identifier" } cocoon.sendPage("test.jx", bizData);.. Should be cocoon.sendPage("test.jx", { "bizData" : bizData} ); -Bertrand smime.p7s Description: S/MIME cryptographic signature

cocoon.sendPage and bizData

2006-02-21 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.7. I have noticed a strain thing in the cocoon.sendPage method in a flowscript. If i have an internal-only resource (i.e. let's call it "test.jx") it seems to me that if in the flow script i do a similar thing: var bizData = { name : "test", id : "identifier" } coc

Re: Proccesing "normal" form data with flow

2006-02-21 Thread Bertrand Delacretaz
Le 21 févr. 06 à 14:37, Derek Hohls a écrit : I have a use case where I need to process data from "normal" HTML form - is flow capable of doing so and, if so, how? I specifically need to fetch and process a set of checkbox values (each with unique id). No problem, just grab the parameters from

Proccesing "normal" form data with flow

2006-02-21 Thread Derek Hohls
I have a use case where I need to process data from "normal" HTML form - is flow capable of doing so and, if so, how? I specifically need to fetch and process a set of checkbox values (each with unique id). If flow is not going to work, are there any other alternatives (excluding writing custo

Re: Flowscript continuation from external reply

2006-02-21 Thread Simone Gianni
Hi Andrew, first question. When you say "pass variables to an external site" you mean "redirect the user to an external site, like a payment gateway, and then the external site will redirect the user back to me" right? In that case, the redirectTo function does not suspend the current executio

Re: cinclude usage/alternatives

2006-02-21 Thread Bertrand Delacretaz
Le 21 févr. 06 à 06:01, Bruyn Bill a écrit : For various reasons, I need to retrieve some markup from a remote resource, and insert my jx result inline As mentioned on this thread, you can either a) use map:aggregate to combine this remote resource with your data, and "move" it to the

RE: cinclude usage/alternatives

2006-02-21 Thread Bruyn Bill
Mm. I'd actually forgotten about map:aggregate. I'm not sure it fits this use-case though... does it? In this case, the dynamic part is a rendered CForm (via flowscript sendPageAndWait), but all markup application-wide should be wrapped with this static content. So I thought I'd pull th

RE: cinclude usage/alternatives

2006-02-21 Thread Derek Hohls
Bill Sorry, I still am not sure where the dynamic part is... what I was suggesting was: where "doc-date" might be another pipeline retrieving a static XML file and "app-graphs-{1}"/" yet other pipeline with a dynamic component. It was "xinclude"

RE: cinclude usage/alternatives

2006-02-21 Thread Bruyn Bill
Thanks, Derek. That's what I thought exactly. But the aggregation step is the cinclude, yes? Am I going about this the right way? I have something like the following ATM: (and btw, any thoughts on the speed issue? I saw some posts from you a while back on that...) SITEMAP --

Flowscript continuation from external reply

2006-02-21 Thread Andrew Madu
Hi,I have a flowscript function which passes some variables to an external site. The site will send back a success or failure confirmation based upon the parameters passed. What I want to do next is continue on the from the next point in time after the external site was contacted, so:I want to crea