Title: [waffle-scm] [406] trunk/waffle-distribution/src/site/content: WAFFLE-33: updated docs.
Revision
406
Author
mauro
Date
2007-11-20 06:24:30 -0600 (Tue, 20 Nov 2007)

Log Message

WAFFLE-33: updated docs.

Modified Paths

Diff

Modified: trunk/waffle-distribution/src/site/content/binding-validation.html (405 => 406)

--- trunk/waffle-distribution/src/site/content/binding-validation.html	2007-11-20 12:11:50 UTC (rev 405)
+++ trunk/waffle-distribution/src/site/content/binding-validation.html	2007-11-20 12:24:30 UTC (rev 406)
@@ -10,9 +10,9 @@
     <h3>Binding</h3>
 
     <p>
-      By default all binding of fields to <b>Controllers</b> is handled by Ognl. Waffle provides a custom extension to
-      Ognl's <i>ognl.DefaultTypeConverter</i> to support Java 5 <i>enums</i>. Fields of standard types (e.g. String,
-      Number, primitives) are bound to your controllers automatically. More complex or custom class types can also
+      By default all binding of fields to <b>Controllers</b> is handled by Ognl. Waffle provides a custom implementation of
+      Ognl's <i>ognl.TypeConverter</i> to support Java 5 <i>enums</i> and to delegate to Waffle <code>ValueConverters</code> if
+      defined. Fields of standard types (e.g. String, Number, primitives) are bound to your controllers automatically. More complex or custom class types can also
       easily be handled.
     </p>
 

Modified: trunk/waffle-distribution/src/site/content/pluggability.html (405 => 406)

--- trunk/waffle-distribution/src/site/content/pluggability.html	2007-11-20 12:11:50 UTC (rev 405)
+++ trunk/waffle-distribution/src/site/content/pluggability.html	2007-11-20 12:24:30 UTC (rev 406)
@@ -85,10 +85,10 @@
         org.codehaus.waffle.bind.IntrospectingRequestAttributeBinder</a></td>
       </tr>
       <tr class="b">
-        <td align="left"><a href=""
-        org.codehaus.waffle.bind.TypeConverter</a></td>
-        <td align="left"><a href=""
-        org.codehaus.waffle.bind.DelegatingTypeConverter</a></td>
+        <td align="left"><a href=""
+        org.codehaus.waffle.bind.ValueConverterFinder</a></td>
+        <td align="left"><a href=""
+        org.codehaus.waffle.bind.DefaultValueConverterFinder</a></td>
       </tr>
       <tr class="b">
         <td align="left"><a href=""
@@ -166,7 +166,7 @@
         org.codehaus.waffle.bind.ValueConverter</a></i>.
   Implementations of this interface allows you to write custom conversions
   for a specific class type. The following is an example of how you can
-  register your converters with Waffle. Waffle's <i>DelegatingTypeConverter</i>
+  register your converters with Waffle. Waffle's <i>DefaultValueConverterFinder</i>
   is dependent on all <i>org.codehaus.waffle.bind.ValueConverter</i>
   that are registered in the <b>web.xml</b>. So the following example will
   provide 2 custom converters for use in your application.
@@ -175,12 +175,12 @@
 <textarea class="xml:nogutter:nocontrols" name="code">
   <context-param>
     <param-name>register:MoneyConverter</param-name>
-    <param-value>com.mycompany.MoneyTypeConverter</param-value>
+    <param-value>com.mycompany.MoneyValueConverter</param-value>
   </context-param>
 
   <context-param>
     <param-name>register:ColorConverter</param-name>
-    <param-value>com.mycompany.ColorTypeConverter</param-value>
+    <param-value>com.mycompany.ColorValueConverter</param-value>
   </context-param>
 </textarea>
 


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to