cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: how to call continuation, created by button's action?
Date Tue, 28 Apr 2009 09:49:28 GMT
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.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