Fulvio Casali
2015-10-05 17:30:52 UTC
Repository: training
Branch: refs/heads/fulv-eggs1
Date: 2015-10-05T19:25:58+02:00
Author: Fulvio Casali (fulv) <***@gmail.com>
Commit: https://github.com/plone/training/commit/7bd424458b5f1ad9129a4f0f64f2350c71af7f20
Another zope.schema.email.Email field.
Files changed:
M dexterity.rst
diff --git a/dexterity.rst b/dexterity.rst
index 63a0478..4522f72 100644
--- a/dexterity.rst
+++ b/dexterity.rst
@@ -168,7 +168,12 @@ Here is the complete xml-schema created by our actions.
.. code-block:: xml
:linenos:
- <model xmlns:security="http://namespaces.plone.org/supermodel/security" xmlns:marshal="http://namespaces.plone.org/supermodel/marshal" xmlns:form="http://namespaces.plone.org/supermodel/form" xmlns="http://namespaces.plone.org/supermodel/schema">
+ <model xmlns:lingua="http://namespaces.plone.org/supermodel/lingua"
+ xmlns:users="http://namespaces.plone.org/supermodel/users"
+ xmlns:security="http://namespaces.plone.org/supermodel/security"
+ xmlns:marshal="http://namespaces.plone.org/supermodel/marshal"
+ xmlns:form="http://namespaces.plone.org/supermodel/form"
+ xmlns="http://namespaces.plone.org/supermodel/schema">
<schema>
<field name="type_of_talk" type="zope.schema.Choice">
<description/>
@@ -199,7 +204,7 @@ Here is the complete xml-schema created by our actions.
<description>Name (or names) of the speaker</description>
<title>Speaker</title>
</field>
- <field name="email" type="zope.schema.TextLine">
+ <field name="email" type="zope.schema.email.Email">
<description>Adress of the speaker</description>
<title>Email</title>
</field>
------------------------------------------------------------------------------
Branch: refs/heads/fulv-eggs1
Date: 2015-10-05T19:25:58+02:00
Author: Fulvio Casali (fulv) <***@gmail.com>
Commit: https://github.com/plone/training/commit/7bd424458b5f1ad9129a4f0f64f2350c71af7f20
Another zope.schema.email.Email field.
Files changed:
M dexterity.rst
diff --git a/dexterity.rst b/dexterity.rst
index 63a0478..4522f72 100644
--- a/dexterity.rst
+++ b/dexterity.rst
@@ -168,7 +168,12 @@ Here is the complete xml-schema created by our actions.
.. code-block:: xml
:linenos:
- <model xmlns:security="http://namespaces.plone.org/supermodel/security" xmlns:marshal="http://namespaces.plone.org/supermodel/marshal" xmlns:form="http://namespaces.plone.org/supermodel/form" xmlns="http://namespaces.plone.org/supermodel/schema">
+ <model xmlns:lingua="http://namespaces.plone.org/supermodel/lingua"
+ xmlns:users="http://namespaces.plone.org/supermodel/users"
+ xmlns:security="http://namespaces.plone.org/supermodel/security"
+ xmlns:marshal="http://namespaces.plone.org/supermodel/marshal"
+ xmlns:form="http://namespaces.plone.org/supermodel/form"
+ xmlns="http://namespaces.plone.org/supermodel/schema">
<schema>
<field name="type_of_talk" type="zope.schema.Choice">
<description/>
@@ -199,7 +204,7 @@ Here is the complete xml-schema created by our actions.
<description>Name (or names) of the speaker</description>
<title>Speaker</title>
</field>
- <field name="email" type="zope.schema.TextLine">
+ <field name="email" type="zope.schema.email.Email">
<description>Adress of the speaker</description>
<title>Email</title>
</field>
------------------------------------------------------------------------------