Hi Freddy,
If I understand correctly what you're trying to do, here is how you can do it in an XSP:
<xsp:structure>
<xsp:include>org.apache.cocoon.components.flow.WebContinuation</xsp:include>
<xsp:include>org.apache.cocoon.components.flow.FlowHelper</xsp:include>
</xsp:structure><xsp:logic>
WebContinuation kont = (WebContinuation) request.getAttribute(FlowHelper.CONTINUATION_OBJECT);
if(kont != null ){
String id = kont.getId();
//Do whatever you need to do with this ID.
}
</xsp:logic>
Hope this helps.
John
Freddy wrote:
Hi!
I've got a problem with Continuation. To include an external site into
my page, I have to generate a Link to this external site (with a binary
on harddisk, thanks John, executing it is working now). This external
site opens in a popup with the returnlink encoded in the
request-parameters.
I need to give the next continuation-id (generated by the next
cocoon.sendPage to this binaryprogram as a parameter and I read the
popup-link from stdout of this program. Then I need to include this link
in my page.
The Problem is now that I have to now the next continuation-id. If I
don't know it I can not generate the link and I cannot include it in my
page.
What I have so far is: cocoon.makeWebContinuation(cocoon.continuation.continuation).id
But this is not the id which is createt from the next cocoon.sendPage and which seems to be the one I need.
I hope, someone understands my problem at all :) And thanks for your
help, guys!
Freddy
--
---------------------------------------------------------
Jentro Technologies GmbH
John L. Webber, Software Development
---------------------------------------------------------
Rosenheimer Str. 145e 81671 M�nchen
Tel. +49 89 189 169 80 mailto:[EMAIL PROTECTED]
Fax +49 89 189 169 99 http://www.jentro.com
---------------------------------------------------------
NOTICE: The information contained in this e-mail is confidential or may otherwise be legally privileged. It is intended for the named recipient only. If you have received it in error, please notify us immediately by reply or by calling the telephone number above and delete this message and all its attachments without any use or further distribution of its contents. Please note that any unauthorised review, copying, disclosing or otherwise making use of the information is strictly prohibited. Thank you.
---------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
