You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paula Estrella <pa...@yahoo.com.ar> on 2006/03/27 19:00:30 UTC
how to save results to disk?
Hi, I'm developing a small application with cocoon 2.1.8 under windows and I'd like to know if it's possible to store (server side) a dinamically generated xml document, i.e. I genrate a document result.xml with some input from users and I want to perform some action to store this document in the server as <user>-result.xml
Any ideas how I could do this?
Thank you in advance
Paula
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Re: source writing transformer and file refreshing
Posted by Paula Estrella <pa...@yahoo.com.ar>.
Thanks again, that solved the problem! (and fyi cocoon 2.1.8 and windows xp sp2)
best,
Paula
Antonio Gallardo <ag...@agssa.net> escribió: Hi Paula, Would you post a simple demo of your problem? Before that,
please try to turn off the cache for this pipeline. BTW, cocoon version, OS?
Best Regards,
Antonio Gallardo.
Paula Estrella escribió:
> Hi all, I'm experiencing some problems when using the above mentioned
> transformer; I read a file to append a user name, but after adding it,
> it seems cocoon doesn't "synch" or refresh the file, so I can add many
> times the same user name and I want to have unique user names; any
> ideas how to solve this?
>
>
> Let me know if you need to see the code I have, thanks in advance,
> Paula
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Re: source writing transformer and file refreshing
Posted by Antonio Gallardo <ag...@agssa.net>.
Hi Paula, Would you post a simple demo of your problem? Before that,
please try to turn off the cache for this pipeline. BTW, cocoon version, OS?
Best Regards,
Antonio Gallardo.
Paula Estrella escribió:
> Hi all, I'm experiencing some problems when using the above mentioned
> transformer; I read a file to append a user name, but after adding it,
> it seems cocoon doesn't "synch" or refresh the file, so I can add many
> times the same user name and I want to have unique user names; any
> ideas how to solve this?
>
>
> Let me know if you need to see the code I have, thanks in advance,
> Paula
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
source writing transformer and file refreshing
Posted by Paula Estrella <pa...@yahoo.com.ar>.
Hi all, I'm experiencing some problems when using the above mentioned transformer; I read a file to append a user name, but after adding it, it seems cocoon doesn't "synch" or refresh the file, so I can add many times the same user name and I want to have unique user names; any ideas how to solve this?
Let me know if you need to see the code I have, thanks in advance,
Paula
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Re: how to save results to disk?
Posted by Paula Estrella <pa...@yahoo.com.ar>.
Thank you all, for your expertise! I followed your advice and could do what I wanted.
Paula
Nico Verwer <nv...@be-value.nl> escribió: Paula Estrella wrote:
> Hi, I'm developing a small application with cocoon 2.1.8 under windows
> and I'd like to know if it's possible to store (server side) a
> dinamically generated xml document, i.e. I genrate a document
> result.xml with some input from users and I want to perform some
> action to store this document in the server as -result.xml
> Any ideas how I could do this?
Have a look at the SourceWritingTransformer
(http://cocoon.apache.org/2.1/userdocs/sourcewriting-transformer.html).
This will do what you want.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Re: how to save results to disk?
Posted by Nico Verwer <nv...@be-value.nl>.
Paula Estrella wrote:
> Hi, I'm developing a small application with cocoon 2.1.8 under windows
> and I'd like to know if it's possible to store (server side) a
> dinamically generated xml document, i.e. I genrate a document
> result.xml with some input from users and I want to perform some
> action to store this document in the server as <user>-result.xml
> Any ideas how I could do this?
Have a look at the SourceWritingTransformer
(http://cocoon.apache.org/2.1/userdocs/sourcewriting-transformer.html).
This will do what you want.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: how to save results to disk?
Posted by Antonio Gallardo <ag...@agssa.net>.
Hi Paula,
I am glad to see cocoon is getting hot in LA. ;-)
Some links:
http://wiki.apache.org/cocoon/WebDAVCMS
Older way:
http://cocoon.apache.org/2.1/userdocs/sourcewriting-transformer.html
Best Regards,
Antonio Gallardo.
Paula Estrella escribió:
> Hi, I'm developing a small application with cocoon 2.1.8 under windows
> and I'd like to know if it's possible to store (server side) a
> dinamically generated xml document, i.e. I genrate a document
> result.xml with some input from users and I want to perform some
> action to store this document in the server as <user>-result.xml
> Any ideas how I could do this?
> Thank you in advance
>
> Paula
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: how to save results to disk?
Posted by Brian Maddy <bm...@kampersoftware.com>.
Check out the xml binding example. There's a saveDocument(document,
uri) function in the flowscript.
See the file
cocoon-2.1.8\build\webapp\samples\blocks\forms\flow\binding_example.js
Perhaps that will contain something to help you.
See ya,
Brian
Paula Estrella wrote:
> Hi, I'm developing a small application with cocoon 2.1.8 under windows
> and I'd like to know if it's possible to store (server side) a
> dinamically generated xml document, i.e. I genrate a document
> result.xml with some input from users and I want to perform some
> action to store this document in the server as <user>-result.xml
> Any ideas how I could do this?
> Thank you in advance
>
> Paula
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org