Hi Peter a: The samples-styling xslt looks for a head-tag to insert the javascript. When starting to use CForms I missed that at first. Either change the xslt or add a dummy "head" element somewhere. You can move the stuff in another transformation ;)
b: As far as I understood everything you can either use W3C DOM Objects or java Beans with all get and set methods implemented. In flowscript you can do whatever you like with them. If you need some assistance, just mail me which form you prefer to store your data and I will send you some sample code. Chris [ c h r i s t o f e r d u t z ] IT-Berater univativ GmbH & Co. KG Robert-Bosch-Str. 7, 64293 Darmstadt fon: 0 61 51 / 66 717 -0 fax: 0 61 51 / 66 717 -29 email: [EMAIL PROTECTED] http://www.univativ.de Darmstadt, Stuttgart, Karlsruhe, Düsseldorf -----Ursprüngliche Nachricht----- Von: peter [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. Mai 2006 14:40 An: users@cocoon.apache.org Betreff: Cforms dates and data destinations I've been experimenting with Cforms and I think I have the hang of it now. a) I didn't realise that datatype base="date" would pop up a calendar applet beside the field -- an excellent idea. But the img src that it references doesn't appear to get installed (no problem, I found it and copied it); but the link to onclick="forms_calendar.select()" doesn't do anything, because there is no javascript embedded or referenced that contains that function. Should I have done something extra at build time to enable this, or is it something I can add by hand? b) In the examples, I seem to have missed how you deal with the data. At the moment only three targets are required: i) mail the data to someone; ii) store the data in an XML file on the server for future reuse; iii) insert the data as a new element in an existing file on the server (eg the XML equivalent of appending to a dataset). Are there built-in functions to do these? ///Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]