[Zope3-checkins] CVS: Zope3/src/zope/app/mail -
metadirectives.py:1.3
sree
sree at mahiti.org
Wed Dec 17 05:20:49 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/mail
In directory cvs.zope.org:/tmp/cvs-serv2121/mail
Modified Files:
metadirectives.py
Log Message:
add views for file, image, dtml document, template file
Also have added ASCII widget in replace ment for Bytes field..
ASCII for text areas
Bytes should now on be used only for File/Binary data...
=== Zope3/src/zope/app/mail/metadirectives.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/mail/metadirectives.py:1.2 Sun Aug 17 02:07:13 2003
+++ Zope3/src/zope/app/mail/metadirectives.py Wed Dec 17 05:20:49 2003
@@ -17,7 +17,7 @@
"""
from zope.configuration.fields import Path
from zope.interface import Interface
-from zope.schema import TextLine, Bytes, BytesLine, Int
+from zope.schema import TextLine, Bytes, ASCII, BytesLine, Int
class IServiceDirective(Interface):
"""This abstract directive describes a generic mail service
@@ -68,7 +68,7 @@
class ISendmailMailerDirective(IMailerDirective):
"""Registers a new Sendmail mailer."""
- command = Bytes(
+ command = ASCII(
title=u"Command",
description=u"A template command for sending out mail, containing "\
u"%(from)s and %(to)s for respective addresses.",
More information about the Zope3-Checkins
mailing list