cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Portier <...@outerthought.org>
Subject Re: Woody showForm and redirection
Date Wed, 14 Jan 2004 09:40:33 GMT


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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

-- 
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
mpo@outerthought.org                              mpo@apache.org


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


Mime
View raw message