You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Sparkes <pe...@didm.co.uk> on 2005/11/17 12:48:49 UTC

Amend XML File

Hi,

I wish to allow authorised users to amend files on the server using forms.

I have working the authentication and the CForm displaying the old data. 
However I can't get the amended data that I extract from the CForms to 
amend the XML file on the server.

I am using Cocoon 2.1.7

Help please

Peter Sparkes

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


Re: Amend XML File - solved

Posted by Peter Sparkes <pe...@didm.co.uk>.
Hi Zbigniew Bomert,

Thank you, I should have looked at the samples a bit more closely - its 
now working

Peter Sparkes

> Peter Sparkes wrote:
>
>> Hi,
>>
>> I wish to allow authorised users to amend files on the server using 
>> forms.
>>
>> I have working the authentication and the CForm displaying the old 
>> data. However I can't get the amended data that I extract from the 
>> CForms to amend the XML file on the server.
>
>
> Did you tried flowscript example, and specially, the saveDocument() 
> function in:
>
>     ...webapp/samples/blocks/forms/flow/binding_example.js
>
> ?
>
> Zbigniew Bomert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

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


Re: Amend XML File

Posted by Zbigniew Bomert OP <zb...@dominikanie.pl>.
Peter Sparkes wrote:
> Hi,
> 
> I wish to allow authorised users to amend files on the server using forms.
> 
> I have working the authentication and the CForm displaying the old data. 
> However I can't get the amended data that I extract from the CForms to 
> amend the XML file on the server.

Did you tried flowscript example, and specially, the saveDocument() 
function in:

	...webapp/samples/blocks/forms/flow/binding_example.js

?

Zbigniew Bomert

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