src/ztfy/utils/tal/configure.zcml
branchZTK-1.1
changeset 148 d3668ecd9137
parent 87 689eef034b00
child 167 f0336de241c3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ztfy/utils/tal/configure.zcml	Wed Jun 20 16:29:53 2012 +0200
@@ -0,0 +1,40 @@
+<configure
+	xmlns="http://namespaces.zope.org/zope"
+	xmlns:tales="http://namespaces.zope.org/tales"
+	i18n_domain="ztfy.utils">
+
+	<adapter
+		name="start"
+		factory=".text.TextStartTalesAdapter"
+		provides="zope.traversing.interfaces.IPathAdapter"
+		for="*" />
+
+	<adapter
+		name="text"
+		factory=".text.TextOutputTalesAdapter"
+		provides="zope.traversing.interfaces.IPathAdapter"
+		for="*" />
+
+	<adapter
+		name="html"
+		factory=".html.HTMLTalesAdapter"
+		provides="zope.traversing.interfaces.IPathAdapter"
+		for="*" />
+
+	<adapter
+		name="data"
+		factory=".request.RequestDataTalesAdapter"
+		provides="zope.traversing.interfaces.IPathAdapter"
+		for="zope.publisher.interfaces.browser.IBrowserRequest" />
+
+	<adapter
+		name="session"
+		factory=".session.SessionDataTalesAdapter"
+		provides="zope.traversing.interfaces.IPathAdapter"
+		for="zope.publisher.interfaces.browser.IBrowserRequest" />
+
+	<tales:expressiontype
+		name="fanstatic"
+		handler=".fanstatic.FanstaticTalesExpression" />
+
+</configure>
\ No newline at end of file