[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - editingwidgets.py:1.4.24.1

Garrett Smith garrett at mojave-corp.com
Sat Feb 7 23:36:13 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv29659/src/zope/app/browser/skins/rotterdam

Modified Files:
      Tag: ozzope-widgets-branch
	editingwidgets.py 
Log Message:

- Removed the use of getValue for widget attributes - using the attributes
  directly.

- Changed type attribute of widgets to inputType - this will be clarified
  further in the widget interfaces.

- Fixed some trivial whitespace issues.


=== Zope3/src/zope/app/browser/skins/rotterdam/editingwidgets.py 1.4 => 1.4.24.1 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/editingwidgets.py:1.4	Thu Aug 21 10:19:22 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/editingwidgets.py	Sat Feb  7 23:36:11 2004
@@ -38,14 +38,14 @@
 
     def __call__(self):
         return renderElement("textarea",
-                             name = self.name,
-                             id = self.name,
-                             cssClass = self.getValue('cssClass'),
-                             rows = self.getValue('height'),
-                             cols = self.getValue('width'),
-                             style = self.style,
-                             contents = self._showData(),
-                             extra = self.getValue('extra'))
+                             name=self.name,
+                             id=self.name,
+                             cssClass=self.cssClass,
+                             rows=self.height,
+                             cols=self.width,
+                             style=self.style,
+                             contents=self._showData(),
+                             extra=self.extra)
 
     def contents(self):
         """Make the contents available to the template"""




More information about the Zope3-Checkins mailing list