I am using Xindice as a simple content management system and wish to bind my forms to 
this database, which I have done 
successfully. However, using the binding framework this only works for UPDATEs (i.e. 
the form data already exists).

I cannot get it to work for INSERT's (i.e. add a new entry based on the form into the 
database). If I use the binding 
framework code I get 'no cocoon form' error as it tries to read data that doesn't yet 
exist.

Can anyone give me an example that uses binding only for the SAVE operation, without a 
corresponding LOAD?

This is really starting to drive me mad!

Many thanks,

Paul.



---------- Original Message -----------
From: "Derek Hohls" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Mon, 16 Aug 2004 15:25:38 +0200
Subject: Re: Form data to XML

> Paul
> 
> Are you trying to get XML formatted data from the form
> or from the bean (not clear from what you have wrtitten)
> 
> If the former, you could bind the form to an XML document.
> 
> Derek
> 
> >>> [EMAIL PROTECTED] 2004/08/16 03:09:03 PM >>>
> How can I generate an XML version of the bean data held in a form? Do I
> use the JX generator, and if so, is there a 
> generic template to 'echo' the contents of a bean?
> 
> Many thanks,
> 
> Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> MailScanner thanks transtec Computers for their support.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
------- End of Original Message -------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to