[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form -
editwizard.py:1.16
Sidnei da Silva
cvs-admin at zope.org
Wed Oct 22 15:15:03 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv4053
Modified Files:
editwizard.py
Log Message:
Whitespace
=== Zope3/src/zope/app/browser/form/editwizard.py 1.15 => 1.16 ===
--- Zope3/src/zope/app/browser/form/editwizard.py:1.15 Sun Sep 21 13:30:36 2003
+++ Zope3/src/zope/app/browser/form/editwizard.py Wed Oct 22 15:15:02 2003
@@ -75,7 +75,7 @@
)
def widgets(self):
- return [getattr(self, name+'_widget')
+ return [getattr(self, name+'_widget')
for name in self.currentPane().names
]
@@ -87,7 +87,7 @@
_update_called = 0
# Message rendered at the top of the form, probably set by update()
- feedback = u''
+ feedback = u''
def update(self):
'''Called before rendering each pane. It is responsible
@@ -119,7 +119,7 @@
else:
names = self.fieldNames
data = getWidgetsData(
- self, self.schema, strict=True, set_missing=True,
+ self, self.schema, strict=True, set_missing=True,
names=names, exclude_readonly=True
)
self.errors = {}
@@ -159,7 +159,7 @@
for k in self.fieldNames:
if k not in self.currentPane().names:
getattr(self, k).getInputValue()
- self.show_submit = 1
+ self.show_submit = 1
except WidgetInputError,x:
self.show_submit = 0
@@ -183,7 +183,7 @@
return not changed
def renderHidden(self):
- ''' Render state as hidden fields. Also render hidden fields to
+ ''' Render state as hidden fields. Also render hidden fields to
propagate self.storage if we are not using the session to do this.
'''
olist = []
@@ -195,9 +195,9 @@
))
if self.use_session:
- # Need to output a unique key as a hidden field to identity this
- # particular wizard. We use this to ensure data for this view
- # doesn't conflict with other wizards in progress in other
+ # Need to output a unique key as a hidden field to identity this
+ # particular wizard. We use this to ensure data for this view
+ # doesn't conflict with other wizards in progress in other
# browser windows.
# Otherwise, no more state to propagate
raise NotImplementedError, 'use_session'
@@ -212,7 +212,7 @@
def EditWizardViewFactory(name, schema, permission, layer,
- panes, fields, template, default_template, bases, for_,
+ panes, fields, template, default_template, bases, for_,
menu=u'', usage=u'', use_session=True):
# XXX What about the __implements__ of the bases?
class_ = SimpleViewClass(template, used_for=schema, bases=bases)
More information about the Zope3-Checkins
mailing list