Vasyl Stashuk wrote:
Hi!
How can i show Woody form in other http request by sending a client-side redirect (like cocoon.redirectTo) instead of using same request (cocoon.sendPageAndWait)?
hm, pls explain why you would want to do that, since you will break away from the most important pleasures of flowscript!
in any case showForm additionally places the current form inside the flow-context-bizdata under the key 'woody-form' and by default the woody-template-transformer or the woody-generator will pick it up there
since you want to have an explicit redirect over the browser you will need to put the form somewhere in the session first, and then let the woody-transformer or generator have it pick up over there...
see http://wiki.cocoondev.org/Wiki.jsp?page=WoodyTemplateTransformer
and search for the explanation of the @location attribute of the wt:form-template
but pls be warned: you will enter the hell of session management, and loose the benefits of the continuations based approach to control your use case. Do make sure that the reason to do that justifies the additional effort that is waiting you...
regards, -marc=
vasyas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ [EMAIL PROTECTED] [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]