[Zope3-checkins] CVS: Zope3/src/zope/app/utilities -
permission_edit.pt:1.1.2.3 schema.py:1.1.2.12
Sidnei da Silva
sidnei at x3ng.com.br
Wed Aug 13 13:23:32 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/utilities
In directory cvs.zope.org:/tmp/cvs-serv24916/src/zope/app/utilities
Modified Files:
Tag: dreamcatcher-ttwschema-branch
permission_edit.pt schema.py
Log Message:
Add missing_value to field schema, some css fixes, fixed a typo on a html
=== Zope3/src/zope/app/utilities/permission_edit.pt 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/utilities/permission_edit.pt:1.1.2.2 Wed Aug 13 11:46:39 2003
+++ Zope3/src/zope/app/utilities/permission_edit.pt Wed Aug 13 12:22:57 2003
@@ -6,16 +6,16 @@
tal:condition="status"
tal:content="status" />
- <form action="./@@edit.html"
+ <form action="./@@edit.html"
tal:attributes="action request/URL" method="POST">
<h3 tal:content="view/label">Label</h3>
<tal:block define="widgets view/getPermissionWidgets"
condition="widgets">
- <h3 i18n:translate="">Map permissions to Schema fields</h3>
+ <h4 i18n:translate="">Map permissions to Schema fields</h4>
<tal:block repeat="widget widgets">
- <h5 tal:content="string:${widget/fieldName} (${widget/fieldName})">
+ <h5 tal:content="string:${widget/fieldTitle} (${widget/fieldName})">
FieldName (Field Title)
</h5>
<div class="row" tal:replace="structure widget/getter/row">
@@ -30,6 +30,7 @@
</div>
</div>
+ <br />
</tal:block>
<div class="row">
<div class="controls" style="width: 100%">
=== Zope3/src/zope/app/utilities/schema.py 1.1.2.11 => 1.1.2.12 ===
--- Zope3/src/zope/app/utilities/schema.py:1.1.2.11 Wed Aug 13 11:46:39 2003
+++ Zope3/src/zope/app/utilities/schema.py Wed Aug 13 12:22:57 2003
@@ -237,9 +237,9 @@
adapted = getAdapter(self.context, self.schema)
if adapted is not self.context:
adapted = ContextWrapper(adapted, self.context, name='(adapted)')
- self.adapted = adapted
+ self.adapted = removeAllProxies(adapted)
setUpEditWidgets(self, self.schema, names=self.fieldNames,
- content=removeAllProxies(self.adapted))
+ content=self.adapted)
class SchemaAdding(Adding):
More information about the Zope3-Checkins
mailing list