By redisplaying the form a continuation should be created anyways. It should not be necessary to do this yourself.

Joerg

On 28.04.2009 07:50, Maria Grigorieva wrote:
By means of button I make the xml-file.
And I want after button click (and after making xml-file) to show in the
same page in browser the link to download this file.


2009/4/28 Joerg Heinicke <joerg.heini...@gmx.de>

Can you tell us what you are actually trying to achieve (independent from
the code)?

Joerg

On 25.04.2009 09:34, Maria Grigorieva wrote:

Hello!!!
I need to create continuation with the button's click.
var k;
......
       form.lookupWidget("report").addActionListener(function(event) {
               var str = dao.jdbc.getXML(id);
               var doc = dao.jdbc.loadXML(str);
               dao.jdbc.saveXML(path+id+".xml", doc);
               k = new Continuation();

       }
       );
.......

But outside this function I can't call this continuation... How to make it
visible?

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

Reply via email to