cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: Cocoon Forms: Validation
Date Thu, 23 Mar 2006 16:00:26 GMT
A document has been updated:

Document ID: 484
Branch: main
Language: default
Name: Cocoon Forms: Validation (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 3/23/06 4:00:08 PM
Updated by: Simone Gianni

A new version has been created, state: draft

This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 8614 bytes (previous version: 7896 bytes)
Content diff:
(229 equal lines skipped)
    <p>all array types (use this with multivaluefield)</p>
+++ <tr>
+++ <td>
+++ <p>fd:java</p>
+++ </td>
+++ <td>
+++ <p>al datatypes</p>
+++ </td>
+++ </tr>
(86 equal lines skipped)
    <p>Checkout the samples of Cocoon for an example.</p>
+++ <h2>fd:java</h2>
+++ <p>Allows to write a validator as a java class. The class must implement the the
+++ <tt>WidgetValidator</tt> interface
+++ (<a href="">javadoc</a>)
+++ and be deployed in the cocoon webapplication.</p>
+++ <pre>&lt;fd:java class="com.mycompany.validators.MyCustomValidator"/&gt;
+++ </pre>
+++ <p>Checkout the samples of Cocoon and look the
+++ org.apache.cocoon.forms.samples.CustomBirthDateValidator for a sample. Please
+++ note that your custom validator MUST add a validation error to the widget;
+++ simply returning false will not display an error to the user.</p>

no changes

no changes

Custom Fields
no changes

no changes

View raw message