cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] CocoonCompetenceCenter LenyaRepository WoodyHelloWorld LenyaSprintZurich20040514 Fri May 14 16:00:04 2004
Date Fri, 14 May 2004 14:00:04 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=CocoonCompetenceCenter , version: 54 on Thu May
14 13:42:59 2004 by DerekH

+ *[Woody Hello World] - a really simple Woody forms + flow example


Page: http://wiki.cocoondev.org/Wiki.jsp?page=LenyaRepository , version: 8 on Thu May 14 13:52:46
2004 by GregorRothfuss

- !The Lenya repository layer
+ !!!The Lenya repository layer
? ++

- !Diagrams
+ !!Diagrams
? +

- !Approach
+ !!Approach
? +

- !Interface extensions
+ !!Interface extensions
? +

- !!Versionable Source
? -

+ !Versionable Source


Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyHelloWorld , version: 1 on Thu May 14 13:51:00
2004 by DerekH

New page created:
+ !!! "Hello World" Simple Woody Sample
+ - TARGET-AUDIENCE: __*beginner*__ advanced expert\\
+ - COCOON-RELEASES: 2.1.3, 2.1.4\\
+ - DOCUMENT-STATUS: __*draft*__ reviewed released\\
+ ----
+ 
+ !!What you will get from this page
+ 
+ An example of the basics required to work with Woody forms.
+ 
+ !!Your basic skills
+ 
+ *You have basic knowledge about XML
+ *You have setup Cocoon (and maybe looked at samples)
+ *You know how to setup a new Cocoon application - see [BeginnerSimpleWebappOrganisation]
+ *You have worked through and understood the [FlowHelloWorld] sample
+ 
+ !!Technical prerequisites
+ 
+ *You need a cleanly installed version of Cocoon. Please refer to [Beginner Installation]

+ for further information.
+ 
+ !!Links to other information sources
+ 
+ *
+ 
+ !!Setting Up
+ 
+ You should create a new subdirectory under the Cocoon installation directory called, for
example {{HelloFlow}}. 
+ 
+ Please save the attached .zip file on your Cocoon machine, then unzip all the files. 
+ If you expand the ZIP file properly, this should contain the following subdirectories:
+ *{{documents}} 
+ *{{resources}}
+ *{{forms}}
+ 
+ !The Sitemap
+ The following code highlights relevant snippets of the sitemap that are required for forms.
+ {{{
+  
+ }}}
+ 
+ !The Flow Script
+ 
+ The {{hellowoody.js}} in the {{documents}} directory looks as follows:
+ {{{
+ 
+ }}}
+ 
+ !The Generated Page
+ 
+ The {{hellowoody.jxt}} in the {{flow}} directory looks like:
+ {{{
+ <?xml version="1.0"?>
+ <html xmlns:jx="http-link-toapache.org/cocoon/templates/jx/1.0">
+ <head>
+   <title>Cocoon Woody Hello World</title>
+ </head>
+ <body>
+   <h1>Hello ${name}!</h1>
+ </body>
+ </html>
+ }}}
+ 
+ __Note__ that this is the same as the {{hello.jxt}}  for the [FlowHelloWorld] sampl
+ 
+ !!What did we achieve?
+ 
+ * Introduced the necessary components into the sitemap to allow for Woody forms handling;
these have been clearly indicated and can be added to existing or new applications that require
forms handling.
+ 
+ * Demonstrated how flow and Woody can work together
+ 
+ ----
+ ! page metadata
+ - AUTHOR: [DerekH]\\
+ - REVIEWED-BY:  (none yet)\\
+ - REVIEWER-CONTACT:\\
+ ---- 
+ 
+ 
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=LenyaSprintZurich20040514 , version: 27 on Thu
May 14 13:09:09 2004 by MichaelWechner

+ *cvs -d :ext:userid@cvs.apache.org:/home/cvs checkout -r Lenya_Sprint_2004_5_13-branch cocoon-lenya
+ 



Mime
View raw message