cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r332028 - in /cocoon/blocks/forms/trunk: java/org/apache/cocoon/forms/samples/dreamteam/ java/org/apache/cocoon/forms/system/i18n/ samples/forms/ samples/forms/binding/
Date Wed, 09 Nov 2005 12:55:51 GMT
Author: crossley
Date: Wed Nov  9 04:55:39 2005
New Revision: 332028

URL: http://svn.apache.org/viewcvs?rev=332028&view=rev
Log:
Fix DOS line-endings.

Modified:
    cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/samples/dreamteam/Team.java
    cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/samples/dreamteam/TeamMember.java
    cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/system/i18n/messages_el.xml
    cocoon/blocks/forms/trunk/samples/forms/binding/01value-template.xml
    cocoon/blocks/forms/trunk/samples/forms/binding/02lenient-template.xml
    cocoon/blocks/forms/trunk/samples/forms/binding/05custom-template.xml
    cocoon/blocks/forms/trunk/samples/forms/form1_template_action_jx-macro.xml

Modified: cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/samples/dreamteam/Team.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/samples/dreamteam/Team.java?rev=332028&r1=332027&r2=332028&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/samples/dreamteam/Team.java (original)
+++ cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/samples/dreamteam/Team.java Wed
Nov  9 04:55:39 2005
@@ -1,57 +1,57 @@
-/*
- * Copyright 1999-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.cocoon.forms.samples.dreamteam;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-
-/**
- * Team
- */
-public class Team {
-
-    private Collection team = new ArrayList();
-
-    public Team() {
-    }
-
-    public Collection getTeam() {
-        return team;
-    }
-
-    public void setTeam(Collection _team) {
-        team = _team;
-    }
-
-    public void addMember(TeamMember member) {
-        team.add(member);
-    }
-
-    public TeamMember getMember(String memberID) {
-        TeamMember member = null;
-        if (team == null) {
-            return null;
-        }
-        for (Iterator iter = team.iterator(); iter.hasNext();) {
-            member = (TeamMember) iter.next();
-            if (member.getMemberId().equals(memberID)) {
-                return member;
-            }
-        }
-        return null;
-    }
+/*
+ * Copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.cocoon.forms.samples.dreamteam;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Iterator;
+
+/**
+ * Team
+ */
+public class Team {
+
+    private Collection team = new ArrayList();
+
+    public Team() {
+    }
+
+    public Collection getTeam() {
+        return team;
+    }
+
+    public void setTeam(Collection _team) {
+        team = _team;
+    }
+
+    public void addMember(TeamMember member) {
+        team.add(member);
+    }
+
+    public TeamMember getMember(String memberID) {
+        TeamMember member = null;
+        if (team == null) {
+            return null;
+        }
+        for (Iterator iter = team.iterator(); iter.hasNext();) {
+            member = (TeamMember) iter.next();
+            if (member.getMemberId().equals(memberID)) {
+                return member;
+            }
+        }
+        return null;
+    }
 }

Modified: cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/samples/dreamteam/TeamMember.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/samples/dreamteam/TeamMember.java?rev=332028&r1=332027&r2=332028&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/samples/dreamteam/TeamMember.java
(original)
+++ cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/samples/dreamteam/TeamMember.java
Wed Nov  9 04:55:39 2005
@@ -1,81 +1,81 @@
-/*
- * Copyright 1999-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.cocoon.forms.samples.dreamteam;
-
-/**
- * TeamMember
- */
-public class TeamMember {
-    private String memberId = null;
-    private String name = null;
-    private String position = null;
-    private String country = null;
-
-    public TeamMember() {
-        super();
-    }
-
-    public String getMemberId() {
-        return memberId;
-    }
-
-    public void setMemberId(String memberID) {
-        this.memberId = memberID;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public String getLastName() {
-        if (name == null) {
-            return "Name not set!";
-        }
-        String lastName = name.substring(name.indexOf(" ") + 1);
-        if (lastName.equals("")) {
-            lastName = name;
-        }
-        return lastName;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getPosition() {
-        return position;
-    }
-
-    public void setPosition(String profession) {
-        this.position = profession;
-    }
-
-    public String getCountry() {
-        return country;
-    }
-
-    public void setCountry(String country) {
-        this.country = country;
-    }
-
-    public String toString() {
-        String result = "<member id='" + memberId + "'><name>" + name
-                + "</name><position>" + position + "</position><country>"
-                + country + "</country></member>";
-        return result;
-    }
-
+/*
+ * Copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.cocoon.forms.samples.dreamteam;
+
+/**
+ * TeamMember
+ */
+public class TeamMember {
+    private String memberId = null;
+    private String name = null;
+    private String position = null;
+    private String country = null;
+
+    public TeamMember() {
+        super();
+    }
+
+    public String getMemberId() {
+        return memberId;
+    }
+
+    public void setMemberId(String memberID) {
+        this.memberId = memberID;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public String getLastName() {
+        if (name == null) {
+            return "Name not set!";
+        }
+        String lastName = name.substring(name.indexOf(" ") + 1);
+        if (lastName.equals("")) {
+            lastName = name;
+        }
+        return lastName;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getPosition() {
+        return position;
+    }
+
+    public void setPosition(String profession) {
+        this.position = profession;
+    }
+
+    public String getCountry() {
+        return country;
+    }
+
+    public void setCountry(String country) {
+        this.country = country;
+    }
+
+    public String toString() {
+        String result = "<member id='" + memberId + "'><name>" + name
+                + "</name><position>" + position + "</position><country>"
+                + country + "</country></member>";
+        return result;
+    }
+
 }

Modified: cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/system/i18n/messages_el.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/system/i18n/messages_el.xml?rev=332028&r1=332027&r2=332028&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/system/i18n/messages_el.xml (original)
+++ cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/system/i18n/messages_el.xml Wed
Nov  9 04:55:39 2005
@@ -1,49 +1,49 @@
-<?xml version="1.0"?>
-<!--
-  Copyright 1999-2004 The Apache Software Foundation
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<!-- This catalogue file contains translations for built-in CForms messages. -->
-<catalogue xml:lang="el">
-	<message key="validation.captcha.mismatch">#CAPTCHA check failed.#</message>
-	
-	<message key="general.field-required">Το πεδίο είναι
υποχρεωτικό</message>
-	<message key="datatype.conversion-failed">Σφάλμα μετατροπής
{0}.</message>
-	<message key="datatype.decimal">δεκαδικός αριθμός</message>
-	<message key="datatype.integer">ακέραιος αριθμός</message>
-	<message key="datatype.long">ακέραιος αριθμός</message>
-	<message key="datatype.float">πραγματικός αριθμός</message>
-	<message key="datatype.double">πραγματικός αριθμός</message>
-	<message key="datatype.date.date">ημερομηνία</message>
-	<message key="datatype.date.time">ώρα</message>
-	<message key="datatype.date.datetime">ημερομηνία-ωρα</message>
-	<message key="validation.string.exact-length">Οι χαρακτήρες
πρέπει να είναι ακριβώς {0}</message>
-	<message key="validation.string.range-length">Το πεδίο πρέπει
να έχει από {0} εώς  {1} χαρακτήρες.</message>
-	<message key="validation.string.min-length">Οι χαρακτήρες
πρέπει να είναι τουλάχιστον
{0}</message>
-	<message key="validation.string.max-length">Οι χαρακτήρες
ΔΕΝ πρέπει να είναι περισσότεροι
από  {0}</message>
-	<message key="validation.string.regexp">Δεν ικανοποιείται
το regular expression: {0}</message>
-	<message key="validation.string.invalidemail">Το πεδίο ΔΕΝ
περιέχει μια έγκυρη email διεύθυνση</message>
-	<message key="validation.array.exact-valuecount">Πρέπει να
επιλεγούν ακριβώς {0} στοιχείο/α.</message>
-	<message key="validation.array.range-valuecount">Τουλάχιστον
{0} έως το πολύ  {1} στοιχείο/α πρέπει
να επιλεγούν.</message>
-	<message key="validation.array.min-valuecount">Τουλάχιστον
{0} στοιχείο/α πρέπει να επιλεγούν.</message>
-	<message key="validation.array.max-valuecount">Μέχρι {0} στοιχείο/α
επιτρέπεται να επιλεγούν.</message>
-	<message key="multivaluefield.conversionfailed">Μία από τις
επιλεγμένες τιμές είναι λάθος
τύπου δεδομένων.</message>
-	<message key="validation.numeric.range">Ο αριθμός πρέπει
να είναι από {0} εώς {1}.</message>
-	<message key="validation.numeric.min">Ο αριθμός πρέπει
να είναι μεγαλύτερος ή ίσος
του {0}.</message>
-	<message key="validation.numeric.max">Ο αριθμός πρέπει
να είναι μικρότερος ή ίσος
του {0}.</message>
-	<message key="validation.mod10">Ο έλεγχος "Mod 10" απέτυχε.</message>
-	<message key="aggregatedfield.split-failed">Το περιεχόμενο
του πεδίου δεν ικανοποιεί
το regular expression: {0}</message>
-	<message key="upload.invalid-type">Μή έγκυρος τύπος
δεδομένων: {0}.</message>
-	<message key="calendar.alt">ημερολόγιο</message>
-</catalogue>
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- This catalogue file contains translations for built-in CForms messages. -->
+<catalogue xml:lang="el">
+	<message key="validation.captcha.mismatch">#CAPTCHA check failed.#</message>
+	
+	<message key="general.field-required">Το πεδίο είναι
υποχρεωτικό</message>
+	<message key="datatype.conversion-failed">Σφάλμα μετατροπής
{0}.</message>
+	<message key="datatype.decimal">δεκαδικός αριθμός</message>
+	<message key="datatype.integer">ακέραιος αριθμός</message>
+	<message key="datatype.long">ακέραιος αριθμός</message>
+	<message key="datatype.float">πραγματικός αριθμός</message>
+	<message key="datatype.double">πραγματικός αριθμός</message>
+	<message key="datatype.date.date">ημερομηνία</message>
+	<message key="datatype.date.time">ώρα</message>
+	<message key="datatype.date.datetime">ημερομηνία-ωρα</message>
+	<message key="validation.string.exact-length">Οι χαρακτήρες
πρέπει να είναι ακριβώς {0}</message>
+	<message key="validation.string.range-length">Το πεδίο πρέπει
να έχει από {0} εώς  {1} χαρακτήρες.</message>
+	<message key="validation.string.min-length">Οι χαρακτήρες
πρέπει να είναι τουλάχιστον
{0}</message>
+	<message key="validation.string.max-length">Οι χαρακτήρες
ΔΕΝ πρέπει να είναι περισσότεροι
από  {0}</message>
+	<message key="validation.string.regexp">Δεν ικανοποιείται
το regular expression: {0}</message>
+	<message key="validation.string.invalidemail">Το πεδίο ΔΕΝ
περιέχει μια έγκυρη email διεύθυνση</message>
+	<message key="validation.array.exact-valuecount">Πρέπει να
επιλεγούν ακριβώς {0} στοιχείο/α.</message>
+	<message key="validation.array.range-valuecount">Τουλάχιστον
{0} έως το πολύ  {1} στοιχείο/α πρέπει
να επιλεγούν.</message>
+	<message key="validation.array.min-valuecount">Τουλάχιστον
{0} στοιχείο/α πρέπει να επιλεγούν.</message>
+	<message key="validation.array.max-valuecount">Μέχρι {0} στοιχείο/α
επιτρέπεται να επιλεγούν.</message>
+	<message key="multivaluefield.conversionfailed">Μία από τις
επιλεγμένες τιμές είναι λάθος
τύπου δεδομένων.</message>
+	<message key="validation.numeric.range">Ο αριθμός πρέπει
να είναι από {0} εώς {1}.</message>
+	<message key="validation.numeric.min">Ο αριθμός πρέπει
να είναι μεγαλύτερος ή ίσος
του {0}.</message>
+	<message key="validation.numeric.max">Ο αριθμός πρέπει
να είναι μικρότερος ή ίσος
του {0}.</message>
+	<message key="validation.mod10">Ο έλεγχος "Mod 10" απέτυχε.</message>
+	<message key="aggregatedfield.split-failed">Το περιεχόμενο
του πεδίου δεν ικανοποιεί
το regular expression: {0}</message>
+	<message key="upload.invalid-type">Μή έγκυρος τύπος
δεδομένων: {0}.</message>
+	<message key="calendar.alt">ημερολόγιο</message>
+</catalogue>

Modified: cocoon/blocks/forms/trunk/samples/forms/binding/01value-template.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/samples/forms/binding/01value-template.xml?rev=332028&r1=332027&r2=332028&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/samples/forms/binding/01value-template.xml (original)
+++ cocoon/blocks/forms/trunk/samples/forms/binding/01value-template.xml Wed Nov  9 04:55:39
2005
@@ -1,46 +1,46 @@
-<?xml version="1.0"?>
-<!--
-  Copyright 1999-2004 The Apache Software Foundation
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" 
-      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance" 
-      xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
-  <h4 class="samplesGroup">Binding directions</h4>
-  <title>Value</title>
-  <content>
-    <ft:form-template>
-        <fi:group>
-          <fi:styling layout="columns" />
-          <fi:items>
-            <ft:widget id="simple"/>
-            <ft:widget id="readonly" />
-            <ft:widget id="writeonly"/>
-            <ft:widget id="diff" />
-            <ft:widget id="onupdate" />
-            <ft:widget id="bool" />
-            <ft:widget id="date"/>
-          </fi:items>
-        </fi:group>
-
-      <p>
-        <input type="submit" value="Submit"/>
-      </p>
-    </ft:form-template>
-  </content>
-  <p>
-    <a href="./">Back to Forms Samples</a>
-  </p>
-</page>
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" 
+      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance" 
+      xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <h4 class="samplesGroup">Binding directions</h4>
+  <title>Value</title>
+  <content>
+    <ft:form-template>
+        <fi:group>
+          <fi:styling layout="columns" />
+          <fi:items>
+            <ft:widget id="simple"/>
+            <ft:widget id="readonly" />
+            <ft:widget id="writeonly"/>
+            <ft:widget id="diff" />
+            <ft:widget id="onupdate" />
+            <ft:widget id="bool" />
+            <ft:widget id="date"/>
+          </fi:items>
+        </fi:group>
+
+      <p>
+        <input type="submit" value="Submit"/>
+      </p>
+    </ft:form-template>
+  </content>
+  <p>
+    <a href="./">Back to Forms Samples</a>
+  </p>
+</page>

Modified: cocoon/blocks/forms/trunk/samples/forms/binding/02lenient-template.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/samples/forms/binding/02lenient-template.xml?rev=332028&r1=332027&r2=332028&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/samples/forms/binding/02lenient-template.xml (original)
+++ cocoon/blocks/forms/trunk/samples/forms/binding/02lenient-template.xml Wed Nov  9 04:55:39
2005
@@ -1,39 +1,39 @@
-<?xml version="1.0"?>
-<!--
-  Copyright 1999-2004 The Apache Software Foundation
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" 
-      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance" 
-      xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
-  <h4 class="samplesGroup">Binding with lenient attribute</h4>
-  <title>Lenient</title>
-  <content>
-    <p>To see the runtime effect of non-lenient binding
-    comment out one of the 'breakingField' nodes in the 02lenient-def.xml file
-    in the forms/samples/forms/binding directory.
-    </p>
-    <ft:form-template>
-      <ft:widget id="anyfield"/>
-
-      <p>
-        <input type="submit" value="Submit"/>
-      </p>
-    </ft:form-template>
-  </content>
-  <p>
-    <a href="./">Back to Forms Samples</a>
-  </p>
-</page>
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" 
+      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance" 
+      xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <h4 class="samplesGroup">Binding with lenient attribute</h4>
+  <title>Lenient</title>
+  <content>
+    <p>To see the runtime effect of non-lenient binding
+    comment out one of the 'breakingField' nodes in the 02lenient-def.xml file
+    in the forms/samples/forms/binding directory.
+    </p>
+    <ft:form-template>
+      <ft:widget id="anyfield"/>
+
+      <p>
+        <input type="submit" value="Submit"/>
+      </p>
+    </ft:form-template>
+  </content>
+  <p>
+    <a href="./">Back to Forms Samples</a>
+  </p>
+</page>

Modified: cocoon/blocks/forms/trunk/samples/forms/binding/05custom-template.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/samples/forms/binding/05custom-template.xml?rev=332028&r1=332027&r2=332028&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/samples/forms/binding/05custom-template.xml (original)
+++ cocoon/blocks/forms/trunk/samples/forms/binding/05custom-template.xml Wed Nov  9 04:55:39
2005
@@ -1,43 +1,43 @@
-<?xml version="1.0"?>
-<!--
-  Copyright 1999-2004 The Apache Software Foundation
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" 
-      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance" 
-      xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
-  <h4 class="samplesGroup">Binding with a custom binding</h4>
-  <title>Custom</title>
-  <content>
-    <ft:form-template>
-      <fi:group>
-        <fi:styling layout="columns" />
-        <fi:items>
-          <ft:widget id="jswrap"/>
-          <ft:widget id="custom" />
-          <ft:widget id="config"/>
-          <ft:widget id="test" />
-        </fi:items>
-      </fi:group>
-      
-      <p>
-        <input type="submit" value="Submit"/>
-      </p>
-    </ft:form-template>
-    <p>
-      <a href="./">Back to Forms Samples</a>
-    </p>
-  </content>
-</page>
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" 
+      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance" 
+      xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <h4 class="samplesGroup">Binding with a custom binding</h4>
+  <title>Custom</title>
+  <content>
+    <ft:form-template>
+      <fi:group>
+        <fi:styling layout="columns" />
+        <fi:items>
+          <ft:widget id="jswrap"/>
+          <ft:widget id="custom" />
+          <ft:widget id="config"/>
+          <ft:widget id="test" />
+        </fi:items>
+      </fi:group>
+      
+      <p>
+        <input type="submit" value="Submit"/>
+      </p>
+    </ft:form-template>
+    <p>
+      <a href="./">Back to Forms Samples</a>
+    </p>
+  </content>
+</page>

Modified: cocoon/blocks/forms/trunk/samples/forms/form1_template_action_jx-macro.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/samples/forms/form1_template_action_jx-macro.xml?rev=332028&r1=332027&r2=332028&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/samples/forms/form1_template_action_jx-macro.xml (original)
+++ cocoon/blocks/forms/trunk/samples/forms/form1_template_action_jx-macro.xml Wed Nov  9
04:55:39 2005
@@ -1,147 +1,147 @@
-<?xml version="1.0"?>
-<!--
-  Copyright 1999-2004 The Apache Software Foundation
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<!-- The only difference between this file and the form1_template_flow.xml
-     is the value of the action attribute on the ft:form-template element -->
-<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" 
-      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance"
-      xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
-  
-  <!-- Import the macros that define CForms template elements -->
-  <jx:import uri="resource://org/apache/cocoon/forms/generation/jx-macros.xml"/>
-  	
-  <title>Sample form</title>
-  <content>
-    <ft:form-template action="form1" method="POST">
-      <div style="width: 90%; margin: 10px 50px 50px 50px;">
-
-        <!-- group with tabs. Each of the children of <items> will constitute a
tab -->
-        <fi:group>
-          <fi:styling type="tabs"/>
-          <fi:label>Choose a panel: </fi:label>
-          <fi:state>
-            <ft:widget id="tab-state"/>
-          </fi:state>
-
-          <fi:items>
-            <!-- group with automatic two-column layout -->
-            <fi:group>
-              <fi:label>String fields</fi:label>
-              <fi:styling layout="columns"/>
-              <fi:items>
-                <ft:widget id="email"/>
-                <ft:widget id="fourchars">
-                  <!-- particular styling for the enumeration -->
-                  <fi:styling list-type="listbox" listbox-size="4"/>
-                </ft:widget>
-              </fi:items>
-            </fi:group>
-
-            <fi:group>
-              <fi:label>Number fields</fi:label>
-              <fi:styling layout="columns"/>
-              <fi:items>
-                <ft:widget id="number1"/>
-                <ft:widget id="number2"/>
-                <ft:widget id="account"/>
-                <ft:widget id="cowheight">
-                  <fi:styling list-type="radio"/>
-                </ft:widget>
-              </fi:items>
-            </fi:group>
-
-            <fi:group>
-              <fi:styling layout="columns"/>
-              <fi:label>Boolean fields</fi:label>
-              <fi:items>
-                <ft:widget id="somebool"/>
-              </fi:items>
-            </fi:group>
-
-            <fi:group>
-              <fi:styling layout="columns"/>
-              <fi:label>Multivalue fields</fi:label>
-              <fi:items>
-                <ft:widget id="drinks">
-                  <fi:styling list-type="double-listbox">
-                    <fi:available-label>Available drinks</fi:available-label>
-                    <fi:selected-label>Your selection</fi:selected-label>
-                  </fi:styling>
-                </ft:widget>
-                <ft:widget id="freemv"/>
-              </fi:items>
-            </fi:group>
-          </fi:items>
-        </fi:group>
-
-        <p>Checkout the <a href="form1.flow">form1 flow page</a> for another
way of formatting panels</p>
-
-        <!-- Group of type 'fieldset' will have a surrounding frame -->
-        <fi:group>
-          <fi:styling type="fieldset" layout="columns"/>
-          <fi:label>Misc controls</fi:label>
-          <fi:items>
-            <ft:widget id="visa"/>
-            <ft:widget id="ipaddress"/>
-            <ft:widget id="altbirthdate"/>
-            <ft:widget id="altbirthdate2"/>
-            <ft:widget id="birthdate"/>
-            <ft:widget id="dieselprice"/>
-          </fi:items>
-        </fi:group>
-
-        <!-- manual layout of fields, without use of a fi:group -->
-        <ft:widget-label id="contacts"/><br/>
-        <ft:repeater-size id="contacts"/>
-        <table border="1">
-          <tr>
-            <th><ft:repeater-widget-label id="contacts" widget-id="firstname"/></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>
-            <th><ft:repeater-widget-label id="contacts" widget-id="birthdate"/></th>
-            <th><ft:repeater-widget-label id="contacts" widget-id="select"/></th>
-          </tr>
-          <!-- The contents of the repeater-widget element is a template that will
-               be applied to each row in the repeater. -->
-          <ft:repeater-widget id="contacts">
-            <tr>
-              <td><ft:widget id="firstname"/></td>
-              <td><ft:widget id="lastname"/></td>
-              <td><ft:widget id="phone"/></td>
-              <td><ft:widget id="email"/></td>
-              <td>
-                <ft:widget id="birthdate"/>
-              </td>
-              <td><ft:widget id="select"/></td>
-            </tr>
-          </ft:repeater-widget>
-          <tr>
-            <td colspan="4" align="right">
-              <ft:widget id="addcontact"/>
-              <ft:widget id="removecontacts"/>
-            </td>
-          </tr>
-        </table>
-        <input type="submit"/>
-      </div>
-    </ft:form-template>
-    <p>
-      <a href="../">Back to samples</a>
-    </p>
-  </content>
-</page>
-
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- The only difference between this file and the form1_template_flow.xml
+     is the value of the action attribute on the ft:form-template element -->
+<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" 
+      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance"
+      xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  
+  <!-- Import the macros that define CForms template elements -->
+  <jx:import uri="resource://org/apache/cocoon/forms/generation/jx-macros.xml"/>
+  	
+  <title>Sample form</title>
+  <content>
+    <ft:form-template action="form1" method="POST">
+      <div style="width: 90%; margin: 10px 50px 50px 50px;">
+
+        <!-- group with tabs. Each of the children of <items> will constitute a
tab -->
+        <fi:group>
+          <fi:styling type="tabs"/>
+          <fi:label>Choose a panel: </fi:label>
+          <fi:state>
+            <ft:widget id="tab-state"/>
+          </fi:state>
+
+          <fi:items>
+            <!-- group with automatic two-column layout -->
+            <fi:group>
+              <fi:label>String fields</fi:label>
+              <fi:styling layout="columns"/>
+              <fi:items>
+                <ft:widget id="email"/>
+                <ft:widget id="fourchars">
+                  <!-- particular styling for the enumeration -->
+                  <fi:styling list-type="listbox" listbox-size="4"/>
+                </ft:widget>
+              </fi:items>
+            </fi:group>
+
+            <fi:group>
+              <fi:label>Number fields</fi:label>
+              <fi:styling layout="columns"/>
+              <fi:items>
+                <ft:widget id="number1"/>
+                <ft:widget id="number2"/>
+                <ft:widget id="account"/>
+                <ft:widget id="cowheight">
+                  <fi:styling list-type="radio"/>
+                </ft:widget>
+              </fi:items>
+            </fi:group>
+
+            <fi:group>
+              <fi:styling layout="columns"/>
+              <fi:label>Boolean fields</fi:label>
+              <fi:items>
+                <ft:widget id="somebool"/>
+              </fi:items>
+            </fi:group>
+
+            <fi:group>
+              <fi:styling layout="columns"/>
+              <fi:label>Multivalue fields</fi:label>
+              <fi:items>
+                <ft:widget id="drinks">
+                  <fi:styling list-type="double-listbox">
+                    <fi:available-label>Available drinks</fi:available-label>
+                    <fi:selected-label>Your selection</fi:selected-label>
+                  </fi:styling>
+                </ft:widget>
+                <ft:widget id="freemv"/>
+              </fi:items>
+            </fi:group>
+          </fi:items>
+        </fi:group>
+
+        <p>Checkout the <a href="form1.flow">form1 flow page</a> for another
way of formatting panels</p>
+
+        <!-- Group of type 'fieldset' will have a surrounding frame -->
+        <fi:group>
+          <fi:styling type="fieldset" layout="columns"/>
+          <fi:label>Misc controls</fi:label>
+          <fi:items>
+            <ft:widget id="visa"/>
+            <ft:widget id="ipaddress"/>
+            <ft:widget id="altbirthdate"/>
+            <ft:widget id="altbirthdate2"/>
+            <ft:widget id="birthdate"/>
+            <ft:widget id="dieselprice"/>
+          </fi:items>
+        </fi:group>
+
+        <!-- manual layout of fields, without use of a fi:group -->
+        <ft:widget-label id="contacts"/><br/>
+        <ft:repeater-size id="contacts"/>
+        <table border="1">
+          <tr>
+            <th><ft:repeater-widget-label id="contacts" widget-id="firstname"/></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>
+            <th><ft:repeater-widget-label id="contacts" widget-id="birthdate"/></th>
+            <th><ft:repeater-widget-label id="contacts" widget-id="select"/></th>
+          </tr>
+          <!-- The contents of the repeater-widget element is a template that will
+               be applied to each row in the repeater. -->
+          <ft:repeater-widget id="contacts">
+            <tr>
+              <td><ft:widget id="firstname"/></td>
+              <td><ft:widget id="lastname"/></td>
+              <td><ft:widget id="phone"/></td>
+              <td><ft:widget id="email"/></td>
+              <td>
+                <ft:widget id="birthdate"/>
+              </td>
+              <td><ft:widget id="select"/></td>
+            </tr>
+          </ft:repeater-widget>
+          <tr>
+            <td colspan="4" align="right">
+              <ft:widget id="addcontact"/>
+              <ft:widget id="removecontacts"/>
+            </td>
+          </tr>
+        </table>
+        <input type="submit"/>
+      </div>
+    </ft:form-template>
+    <p>
+      <a href="../">Back to samples</a>
+    </p>
+  </content>
+</page>
+



Mime
View raw message