cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: Cocoon Forms: A Simple Example
Date Thu, 15 Sep 2005 12:34:09 GMT
A document has been updated:

Document ID: 478
Branch: main
Language: default
Name: Cocoon Forms: A Simple Example (unchanged)
Document Type: Document (unchanged)
Updated on: 9/15/05 12:33:56 PM
Updated by: Ross Gardler

A new version has been created, state: publish

This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 10430 bytes (previous version: 9446 bytes)
Content diff:
(249 equal lines skipped)
+++ <h2>I18n Messages</h2>
+++ <p>Note that the above <tt>registration-display-pipeline</tt> pipeline
uses the
+++ I18n transformer. This enables you to customise the messages generated by the
+++ form transformer. You will need to ensure that your I18n transformer is
+++ correctly configured to find these messages. For example:</p>
+++ <pre>&lt;map:transformer name="i18n"
+++   src="org.apache.cocoon.transformation.I18nTransformer"&gt;
+++   &lt;catalogues default="other"&gt;
+++     &lt;catalogue id="other" name="OtherMessages"
+++       location="messages" /&gt;
+++     &lt;catalogue id="forms" name="FormsMessages"
+++       location="messages" /&gt;
+++     &lt;/catalogues&gt;
+++   &lt;cache-at-startup&gt;true&lt;/cache-at-startup&gt;
+++ &lt;/map:transformer&gt;</pre>
+++ <p>You will also need to ensure that the indicated catalogues are available
+++ within your webapp. You can find these catalogues in the
+++ <a href="">samples
+++ directory Forms block</a>.</p>
    <h1>Next steps</h1>
    <p>The example we've studied here is quite simple. To have a feel for the power
(4 equal lines skipped)

no changes

no changes

Custom Fields
no changes

no changes

View raw message