cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maria Grigorieva <mags...@gmail.com>
Subject Re: how to call continuation, created by button's action?
Date Tue, 28 Apr 2009 05:50:41 GMT
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.heinicke@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-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


-- 
Григорьева Мария

Mime
View raw message