Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyIntro , version: 3 on Fri Apr 25 09:13:31 2003 by BrunoDumon
+ ---- + !!Illustrations + + The pictures below show how Woody fits into Cocoon. The first picture shows how the WoodyTemplateTransformer is used for publishing, the second uses the WoodyGenerator. + + The indicated steps are those for a handling a form submit. In case the form is initially requested, step 2 (form processes request & does validation) is not needed, but instead in this step the form might be pre-populated with data. In case the form is successfully validated, step 3 would not execute the publishing pipeline for the form again, but instead the data from the form will be used for whatever purpose it is needed for, and then some other page will be shown. + + [http://outerthought.net/~bruno/images/woody_overview.png] + + The WoodyTemplateTransformer inserts the XML representation of individual widgets. This makes that the XSLT later on in the pipeline will only have to style individual widgets, and is thus not specific for a certain form. + + [http://outerthought.net/~bruno/images/woody_overview_generator.png] + + The WoodyGenerator generates a complete XML representation of the form, which will then have to be styled by an XSLT. This XSLT will be specific for that form, but could import a library-XSLT that has templates for formatting individual widgets. +
