[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - configure.zcml:1.3
Stuart Bishop
zen@shangri-la.dropbear.id.au
Mon, 14 Jul 2003 11:32:08 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv26318/src/zope/app/interfaces
Added Files:
configure.zcml
Log Message:
- Make Widget validation errors humanly readable, it a half-arsed sort of way.
Widgets have spawned an 'error' attribute, set by getData.
- Display validation errors next to the dud input in Widget.row()
- Make description a tooltip of a Widget's label. This is currently done
by abusing the <acronym> tag.
- addwizard and editwizard work again with the recent editview changes
=== Zope3/src/zope/app/interfaces/configure.zcml 1.2 => 1.3 ===
--- /dev/null Mon Jul 14 11:32:07 2003
+++ Zope3/src/zope/app/interfaces/configure.zcml Mon Jul 14 11:32:03 2003
@@ -0,0 +1,12 @@
+<zopeConfigure xmlns="http://namespaces.zope.org/browser">
+ <!-- The snippet view renders the exception as a human readable HTML
+ error message, suitable for being embeded in an HTML page.
+ -->
+<page
+ for="zope.app.interfaces.form.IWidgetInputError"
+ name="snippet"
+ permission="zope.Public"
+ class=".form.WidgetInputErrorView"
+ attribute="snippet"
+ />
+</zopeConfigure>