On 13.Nov.2002 -- 06:12 PM, Jos? Moreira wrote:
> hello, in my company we use apache+ php + postgre and we spend most of the
> time building table-manipulation forms ( for insert,update,delete,etc)
>
> is it possible to ( in cocoon ) create standard actions ( or else) to
> manipulate a xml file containing the data to be manipulated like the keys,
> key fields and what type of html input to atatch ( text, memo, radio, ... )
> and more ...
>
> then we whould have a xml file for every dataset needed in a website and 4
> 'actions' (insert/view/delete/update)called when the situation demanded ?
Consider yourself lucky, those actions already exist in cocoon. See
the "modular" database actions (docs provide all info).
You need to provide the form and a database description for
that. Since both, form and description, can be cocoon resources, you
could even generate them from your database meta data.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>