Re: Three steps DB Interaction

2005-11-11 Thread Omar Adobati
I'm trying to use the code in the link... but when I try to run it I have back the exception: java.lang.ClassNotFoundException: org.apache.cocoon.ajax.AjaxRequestSelector the problem is the line of code in the sitemap.xmap below: map:selector name=ajax-request

Re: Three steps DB Interaction

2005-11-11 Thread Upayavira
Omar Adobati wrote: I'm trying to use the code in the link... but when I try to run it I have back the exception: java.lang.ClassNotFoundException: org.apache.cocoon.ajax.AjaxRequestSelector the problem is the line of code in the sitemap.xmap below: map:selector name=ajax-request

Re: Three steps DB Interaction

2005-11-11 Thread Omar Adobati
I think no... can you tell me how to do it? Sorry if is a stupid question, but I'm working with cocoon just from a few days, and I'm not so good with it... thanks in advice... On 11/11/05, Upayavira [EMAIL PROTECTED] wrote: Omar Adobati wrote: I'm trying to use the code in the link... but

Re: Three steps DB Interaction

2005-11-11 Thread Upayavira
Omar Adobati wrote: I think no... can you tell me how to do it? Sorry if is a stupid question, but I'm working with cocoon just from a few days, and I'm not so good with it... Okay, this will not work with Cocoon 2.1.7. You need to download Cocoon in its entirety from Subversion, using a

Re: Three steps DB Interaction

2005-11-11 Thread Omar Adobati
Upayavira, thanks very much, now it works good! But, in the sample at the link http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/sql/do_list_employees I can't really see the advantages of AJAX... wht to use ajax instead the classical way? And, where I can finds documentation

Re: Three steps DB Interaction

2005-11-11 Thread Upayavira
Omar Adobati wrote: Upayavira, thanks very much, now it works good! But, in the sample at the link http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/sql/do_list_employees I can't really see the advantages of AJAX... wht to use ajax instead the classical way? Probably

Re: Three steps DB Interaction

2005-11-10 Thread Derek Hohls
Sylvain Briefly - where is the form layout file; there only seems to be a form defintion file? Thanks Derek [EMAIL PROTECTED] 2005/11/09 11:30 PM Omar Adobati wrote: Ard, really thanks to your answer... I'm actually checking the links you send to me, I also already downloaded the code of

Re: Three steps DB Interaction

2005-11-10 Thread Derek Hohls
Sorry... found it n: http://svn.apache.org/repos/asf/cocoon/blocks/forms/trunk/samples/sql/pages/ Just a bit strange that it is not with: http://svn.apache.org/repos/asf/cocoon/blocks/forms/trunk/samples/sql/forms/ I am used to the structure from all the previous samples where form defintion

Re: Three steps DB Interaction

2005-11-10 Thread Derek Hohls
Sylvain Thanks for the explanation - I certainly the lack the depth of insight and knowledge you have... but I have always thought that form definition/template were v. closely related (albeit with different purposes), and given that there is usually a 1:1 relation between them, it has always

Re: Three steps DB Interaction

2005-11-10 Thread Sylvain Wallez
Derek Hohls wrote: Sylvain Thanks for the explanation - I certainly the lack the depth of insight and knowledge you have... but I have always thought that form definition/template were v. closely related (albeit with different purposes), and given that there is usually a 1:1 relation between

Three steps DB Interaction

2005-11-09 Thread Omar Adobati
Good moring all, I have the need to do the following: 1) Fill a form 2) insert the data filled in the form into a DB 3) display the result Now, my idea is to make this 3 steps each one xsp page. I can do it with two steps: the first page show the form to fill and the second one manage the eSQL

RE: Three steps DB Interaction

2005-11-09 Thread Ard Schrijvers
Hello Omar, you should really take a look at flow/cforms/bindings etc etc. Very basic example you can find in the bricks cms example. Work from that, forget writing your own sql statements and xsp! http://wiki.apache.org/cocoon/BricksCms http://www.cocoongt.org/binaries/bricks-cms-overview.pdf

Re: Three steps DB Interaction

2005-11-09 Thread Omar Adobati
Ard, really thanks to your answer... I'm actually checking the links you send to me, I also already downloaded the code of BricksCms... But, because I'm new to cocoon, could you send me the most basic example? I think the code of BricksCms is a little complicated for me... thank you very much,

Re: Three steps DB Interaction

2005-11-09 Thread Sylvain Wallez
Omar Adobati wrote: Ard, really thanks to your answer... I'm actually checking the links you send to me, I also already downloaded the code of BricksCms... But, because I'm new to cocoon, could you send me the most basic example? I think the code of BricksCms is a little complicated for me...

Re: Three steps DB Interaction

2005-11-09 Thread Omar Adobati
Sylvain, let me thanks you... But, if I have not understood bad, in the link you send to me there's no usage of XSP, ESQL and anything like... right? Could I use it with mysql Database? Thanks again, Omar On 11/9/05, Sylvain Wallez [EMAIL PROTECTED] wrote: Omar Adobati wrote: Ard,

Re: Three steps DB Interaction

2005-11-09 Thread Upayavira
Omar Adobati wrote: Sylvain, let me thanks you... But, if I have not understood bad, in the link you send to me there's no usage of XSP, ESQL and anything like... right? Could I use it with mysql Database? Yes, it is just JDBC in the end. Upayavira On 11/9/05, Sylvain Wallez [EMAIL