Re: Help with Component Configuration

2005-11-14 Thread Matt Kendall
Right, I'm trying to use the Serviceable interface with my action and to get my component through the lookup() method. Here's my action: public class CVSUpdateAction extends AbstractAction implements Serviceable { private CVSComponent cvs; public Map act(Redirector redirector, Sour

Re: Help with Component Configuration

2005-11-14 Thread Upayavira
Matt Kendall wrote: > Right, I'm trying to use the Serviceable interface with my action and > to get my component through the lookup() method. Here's my action: > > public class CVSUpdateAction extends AbstractAction implements Serviceable { > private CVSComponent cvs; > public Map act

Re: Help with Component Configuration

2005-11-14 Thread Matt Kendall
I have absolutely no idea what I changed, but it works now. I just incrementally rewrote the component and it works now. Thanks for everyone's input! Matt On 11/14/05, Upayavira <[EMAIL PROTECTED]> wrote: > Matt Kendall wrote: > > Right, I'm trying to use the Serviceable interface with my action

Extending the XML Serializer

2005-11-14 Thread Geert Josten
Hi, I have extended the XML Serializer to make it write named entities. But they come out like "&ent;". Is there a way to disable the 'output escaping'? Or is there another convenient way of making this work? Regards, Geert

Re: [ExceptionHandling] Catching "Content length exceeds maximum upload size"

2005-11-14 Thread Jean-Baptiste Quenot
See my reply on cocoon-dev http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=113162177804454&w=4 And please do not cross-post! -- Jean-Baptiste Quenot Systèmes d'Information ANYWARE TECHNOLOGIES Tel : +33 (0)5 61 00 52 90 Fax : +33 (0)5 61 00 51 46 http://www.anyware-tech.com/ ---

Re: 2.1.8 and mail block

2005-11-14 Thread Jean-Baptiste Quenot
* Marc Salvetti: > However, if i just delete all geronimo-* from web-inf/lib, the > default cocoon fails to launch, probably because of some other > block. Please just delete geronimo-spec-javamail-*.jar. We also noticed this problem, it has been very tricky to find this out. I'm just fil

Re: 2.1.8 and mail block

2005-11-14 Thread Antonio Gallardo
Jean-Baptiste Quenot wrote: * Marc Salvetti: However, if i just delete all geronimo-* from web-inf/lib, the default cocoon fails to launch, probably because of some other block. Please just delete geronimo-spec-javamail-*.jar. We also noticed this problem, it has been very tri

[cocoon 2.1.8] flowcontrol, database and IDs

2005-11-14 Thread Omar Adobati
Hello cocooners, I'm still testing the code about the employee samples... I'm quite understanding, and this is good... but there is a strange thing that happen... I'm using the flow.js file modified to use a database I need, this database is just a simple mysql table with 3 fields: IDContact, Na

Re: jx syntax question

2005-11-14 Thread Leszek Gawron
Merico Raffaele wrote: Hi Cocooners Does anybody knows the right syntax to the following JavaScript function call within a JXTemplate. ${cocoon.session.getAttribute("stringToSAX")( value, cocoon.consumer, ignoreRoot )} 2.1.x or trunk? -- Leszek Gawron

Re: AW: xmlize in jx and 'NOT_FOUND is not a function'

2005-11-14 Thread Leszek Gawron
Merico Raffaele wrote: Hi Upayavira Instead of the solution below with the 'stringToSAX' JavaScript function I have solved the xmlize problem with the following statement in the JavaScript. var xmlizableWspResult = new org.apache.cocoon.xml.StringXMLizable(xmlString); The jx template now jus

CForms, databinding and databases

2005-11-14 Thread Omar Adobati
Good morning all, yeah, I'm still working on the employee sample... Now I think that I'm in a good point of the understanding but I miss something... In the file flow.js, into the do_edit_employee() function I can read this: // Fill the form with the Map returned by JDBI. // No binding fil

Re: CForms, databinding and databases

2005-11-14 Thread Sylvain Wallez
Omar Adobati wrote: Good morning all, yeah, I'm still working on the employee sample... Now I think that I'm in a good point of the understanding but I miss something... In the file flow.js, into the do_edit_employee() function I can read this: // Fill the form with the Map returned by J

AW: [SPAM] Re: AW: xmlize in jx and 'NOT_FOUND is not a function'

2005-11-14 Thread Merico Raffaele
Ciao Leszek > > Instead of the solution below with the 'stringToSAX' JavaScript function > I > > have solved the xmlize problem with the following statement in the > > JavaScript. > > > > var xmlizableWspResult = new > > org.apache.cocoon.xml.StringXMLizable(xmlString); > > > > The jx template now

Re: CForms, databinding and databases

2005-11-14 Thread Marc Salvetti
 > Yes, because I'm using a DB that has, for example, a table called> telephoneNumber. >How's that a problem? works perfectly! I might be wrong, but if telephoneNumber is a table, i think it should be mapped to a repeater, not to a field.  > Now, I suppose is clear where the matter is: I have tw