cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] WhatIsFlow GettingStartedWithFlow CocoonReleaseHowTo Wed Apr 30 08:00:05 2003
Date Wed, 30 Apr 2003 06:00:05 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=WhatIsFlow , version: 8 on Wed Apr 30 05:24:20
2003 by 4.41.234.232

- Here's an example of a ''flowscript'' taken from Ovidiu's 2002 GetTogether Flow presentation
(see link below)
?         ^

+ Here's a (slightly updated) example of a ''flowscript'' taken from Ovidiu's 2002 GetTogether
Flow presentation (see link below) 
?         ^^^^^^^^^^^^^^^^^^^                                                            
                                       +

-   sendPage("login.xml");
+   sendPageAndWait("login.xml");
?           +++++++

-   var user = UserRegistry.getUser(request["name"]);
?                                          ^      ^

+   var user = UserRegistry.getUser(cocoon.request.get("name"));
?                                   +++++++       ^^^^^      ^

-   sendPage("shippingAddress.xml");
+   sendPageAndWait("shippingAddress.xml");
?           +++++++

-   var address = request["address"];
?                        ^         ^

+   var address = cocoon.request.get("address");
?                 +++++++       ^^^^^         ^

-   sendPage("creditCard.xml");
+   sendPageAndWait("creditCard.xml");
?           +++++++

-   var creditCard = request["creditCard"];
?                           ^            ^

+   var creditCard = cocoon.request.get("creditCard");
?                    +++++++       ^^^^^            ^

-   sendPage("placeOrder.xml");
+   sendPageAndWait("placeOrder.xml");
?           +++++++

-   sendPageAndContinue("orderPlaced.xml");
?          -----------

+   sendPage("orderPlaced.xml");
+ * [Model-View-Controller in Cocoon using continuations-based control flow|http://www.webweavertech.com/ovidiu/weblog/archives/000042.html]


Page: http://wiki.cocoondev.org/Wiki.jsp?page=GettingStartedWithFlow , version: 33 on Wed
Apr 30 05:12:18 2003 by 4.41.234.232

+ '' Just call {{cocoon.createSession()}} in your script. That will cause global variables
to be shared between different top-level JavaScript functions called from the sitemap. --Chris
Oliver''
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=CocoonReleaseHowTo , version: 3 on Wed Apr 30
05:27:43 2003 by BertrandDelacretaz

- {{{
-   PROJECT(-SUBPROJECT)?-VERSION(-VARIANT)?-(src|bin).(zip|tar.gz)
? ^

+ {{{ PROJECT(-SUBPROJECT)?-VERSION(-VARIANT)?-(src|bin).(zip|tar.gz) }}}
? ^^^                                                                ++++

- }}}
- {{{
- www/www.apache.org/dist/cocoon/
+ {{{www/www.apache.org/dist/cocoon/
? +++

- 



Mime
View raw message