Author: janguenot
Date: Mon Oct  3 16:31:53 2005
New Revision: 27869

Modified:
   z3lab/zope/xforms/trunk/demo/bar.xf
   z3lab/zope/xforms/trunk/demo/bar.xs
   z3lab/zope/xforms/trunk/demo/configure.zcml
Log:
Update

Modified: z3lab/zope/xforms/trunk/demo/bar.xf
==============================================================================
--- z3lab/zope/xforms/trunk/demo/bar.xf (original)
+++ z3lab/zope/xforms/trunk/demo/bar.xf Mon Oct  3 16:31:53 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<xforms
+<html
     xmlns="http://www.w3.org/1999/xhtml";
     xmlns:xf="http://www.w3.org/2002/xforms";
     xmlns:ev="http://www.w3.org/2001/xml-events";
@@ -52,4 +52,4 @@
     </xf:submit>
 -->
   </div>
-</xforms>
+</html>

Modified: z3lab/zope/xforms/trunk/demo/bar.xs
==============================================================================
--- z3lab/zope/xforms/trunk/demo/bar.xs (original)
+++ z3lab/zope/xforms/trunk/demo/bar.xs Mon Oct  3 16:31:53 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";>
-  <xs:attribute name="title" use="required" type="xs:normalizedString" />
-  <xs:attribute name="description" use="required" type="xs:string"/>
+  <xs:element name="title" type="xs:normalizedString" />
+  <xs:element name="description" type="xs:string"/>
 </xs:schema>

Modified: z3lab/zope/xforms/trunk/demo/configure.zcml
==============================================================================
--- z3lab/zope/xforms/trunk/demo/configure.zcml (original)
+++ z3lab/zope/xforms/trunk/demo/configure.zcml Mon Oct  3 16:31:53 2005
@@ -9,7 +9,7 @@
   </xmlschema>
 
   <xforms
-      id = "bar"
+      id = "xbar"
       document = "bar.xf">
   </xforms>
 
@@ -32,7 +32,7 @@
   <browser:addxforms
       name="addBar.html"
       schema=".interfaces.IBar"
-      xforms='bar'
+      xforms='xbar'
       label="Add a Bar content object"
       content_factory=".bar.Bar"
       permission="zope.ManageContent"
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to