cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Bowler" <paulbow...@aventix.co.uk>
Subject Re: Form data to XML
Date Mon, 16 Aug 2004 15:05:24 GMT
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" <DHohls@csir.co.za>
To: <users@cocoon.apache.org>
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
> 
> >>> paulbowler@www.aventix.co.uk 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: users-unsubscribe@cocoon.apache.org 
> For additional commands, e-mail: users-help@cocoon.apache.org 
> 
> -- 
> 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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
------- End of Original Message -------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message