From ba2d7a3f7ca24267d46eb7608ccefeec47260747 Mon Sep 17 00:00:00 2001 From: helmutm Date: Thu, 11 Jan 2007 15:44:24 +0000 Subject: [PATCH] ExternalFile stuff basically working git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1547 fd906abe-77d9-0310-91a1-e0d9ade77398 --- browser/form.py | 2 +- browser/loops.css | 2 +- configure.zcml | 16 ++++++++++++++++ resource.py | 12 ++++++++---- type.py | 5 +++-- 5 files changed, 29 insertions(+), 8 deletions(-) diff --git a/browser/form.py b/browser/form.py index c3fb02a..3f265b7 100644 --- a/browser/form.py +++ b/browser/form.py @@ -172,7 +172,7 @@ class EditObject(FormController): form = self.request.form ti = IType(obj).typeInterface if ti is not None: - adapted = IType(obj).typeInterface(obj) + adapted = ti(obj) else: adapted = obj for k in form.keys(): diff --git a/browser/loops.css b/browser/loops.css index 60c1526..813d253 100644 --- a/browser/loops.css +++ b/browser/loops.css @@ -7,7 +7,7 @@ a[href]:hover { text-decoration: none; - color: #c00048; + color: #803000; } pre { diff --git a/configure.zcml b/configure.zcml index 08d315a..408316a 100644 --- a/configure.zcml +++ b/configure.zcml @@ -319,6 +319,15 @@ set_schema="loops.interfaces.IFile" /> + + + + + + + + + +