cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asav...@apache.org
Subject svn commit: r385152 - in /cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms: form2_bind_bean.xml form2_bind_xml.xml form2_jx.xml form2_model.xml form2_template.xml
Date Sat, 11 Mar 2006 20:23:59 GMT
Author: asavory
Date: Sat Mar 11 12:23:56 2006
New Revision: 385152

URL: http://svn.apache.org/viewcvs?rev=385152&view=rev
Log:
[COCOON-1789] add Char datatype to forms

Modified:
    cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_bind_bean.xml
    cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_bind_xml.xml
    cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_jx.xml
    cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_model.xml
    cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_template.xml

Modified: cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_bind_bean.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_bind_bean.xml?rev=385152&r1=385151&r2=385152&view=diff
==============================================================================
--- cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_bind_bean.xml
(original)
+++ cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_bind_bean.xml
Sat Mar 11 12:23:56 2006
@@ -81,6 +81,7 @@
     <fb:on-bind>
       <!-- executed on updates AND right after the insert -->
       <fb:value id="firstname" path="firstName"/>
+      <fb:value id="middleInitial" path="middleInitial"/>
       <fb:value id="lastname" path="lastName"/>
       <fb:value id="phone" path="phone"/>
       <fb:value id="email" path="email"/>

Modified: cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_bind_xml.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_bind_xml.xml?rev=385152&r1=385151&r2=385152&view=diff
==============================================================================
--- cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_bind_xml.xml
(original)
+++ cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_bind_xml.xml
Sat Mar 11 12:23:56 2006
@@ -101,6 +101,7 @@
         </fb:save-form>
       </fb:javascript>
       <fb:value id="firstname" path="firstname" />
+      <fb:value id="middleInitial" path="firstname/@middleInitial" />
       <fb:value id="lastname"  path="lastname"  />
       <fb:value id="phone"     path="phone/@nr" />
       <fb:value id="email"     path="email"     />

Modified: cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_jx.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_jx.xml?rev=385152&r1=385151&r2=385152&view=diff
==============================================================================
--- cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_jx.xml
(original)
+++ cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_jx.xml
Sat Mar 11 12:23:56 2006
@@ -37,6 +37,7 @@
       <tr>
         <th>id</th>
         <th>firstName</th>
+        <th>middleInitial</th>
         <th>lastName</th>
         <th>phone</th>
         <th>email</th>
@@ -46,6 +47,7 @@
         <tr>
           <td>${item.id}</td>
           <td>${item.firstName}</td>
+          <td>${item.middleInitial}</td>
           <td>${item.lastName}</td>
           <td>${item.phone}</td>
           <td>${item.email}</td>

Modified: cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_model.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_model.xml?rev=385152&r1=385151&r2=385152&view=diff
==============================================================================
--- cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_model.xml
(original)
+++ cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_model.xml
Sat Mar 11 12:23:56 2006
@@ -132,6 +132,10 @@
           <fd:label>Firstname</fd:label>
           <fd:datatype base="string"/>
         </fd:field>
+        <fd:field id="middleInitial">
+          <fd:label>Middle initial</fd:label>
+          <fd:datatype base="char"/>
+        </fd:field>
         <fd:field id="lastname">
           <fd:label>Lastname</fd:label>
           <fd:datatype base="string"/>

Modified: cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_template.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_template.xml?rev=385152&r1=385151&r2=385152&view=diff
==============================================================================
--- cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_template.xml
(original)
+++ cocoon/trunk/cocoon-forms/cocoon-forms-sample/src/main/resources/samples/forms/form2_template.xml
Sat Mar 11 12:23:56 2006
@@ -82,6 +82,7 @@
       <table border="1">
         <tr>
           <th><ft:repeater-widget-label id="contacts" widget-id="firstname"/></th>
+          <th><ft:repeater-widget-label id="contacts" widget-id="middleInitial"/></th>
           <th><ft:repeater-widget-label id="contacts" widget-id="lastname"/></th>
           <th><ft:repeater-widget-label id="contacts" widget-id="phone"/></th>
           <th><ft:repeater-widget-label id="contacts" widget-id="email"/></th>
@@ -97,6 +98,7 @@
             <td>[<ft:widget id="id"/>]</td>
             -->
             <td><ft:widget id="firstname"/></td>
+            <td><ft:widget id="middleInitial"/></td>
             <td><ft:widget id="lastname"/></td>
             <td><ft:widget id="phone"/></td>
             <td><ft:widget id="email"/></td>



Mime
View raw message