<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ATW Braindump &#187; zope</title>
	<atom:link href="http://dump.adiwidjaja.com/tag/zope/feed/" rel="self" type="application/rss+xml" />
	<link>http://dump.adiwidjaja.com</link>
	<description>The thoughts and discoveries of the ATW team - unfiltered. Warning: This is a high traffic blog. If you want to read something more sophisticated, try http://www.adiwidjaja.com.</description>
	<lastBuildDate>Sat, 18 Jun 2011 18:20:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8-beta2-11491</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Das brauche ich bestimmt nochmal: Einen &#8230;</title>
		<link>http://dump.adiwidjaja.com/2009/08/das-brauche-ich-bestimmt-nochmal-einen/</link>
		<comments>http://dump.adiwidjaja.com/2009/08/das-brauche-ich-bestimmt-nochmal-einen/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 18:41:59 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[zope]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2009/08/das-brauche-ich-bestimmt-nochmal-einen/</guid>
		<description><![CDATA[Das brauche ich bestimmt nochmal: Einen View machen, der etwas anderes heraussucht, in diesem Fall eine Ressource. Der erste Versuch war, in der Methode einfach die Ressource rauszusuchen und dann zurückzuliefern &#8211; das klappt nicht, weil der ZPublisher versucht, weiterzutraversieren. Daher hier die Methode, den &#8220;TraversalRequestNameStack&#8221; vor der Rückgabe zu löschen.

class ResourceView(Explicit):
    [...]]]></description>
			<content:encoded><![CDATA[<p>Das brauche ich bestimmt nochmal: Einen View machen, der etwas anderes heraussucht, in diesem Fall eine Ressource. Der erste Versuch war, in der Methode einfach die Ressource rauszusuchen und dann zurückzuliefern &#8211; das klappt nicht, weil der ZPublisher versucht, weiterzutraversieren. Daher hier die Methode, den &#8220;TraversalRequestNameStack&#8221; vor der Rückgabe zu löschen.</p>
<pre class="brush: python;">
class ResourceView(Explicit):
    &quot;&quot;&quot;
    Simple view redirecting to Resources. Ok, not as simple as thought, but works.
    &quot;&quot;&quot;

    def __before_publishing_traverse__( self, obj, request=None ):
        if self.request['TraversalRequestNameStack']:
            self.request.form['resource'] = self.request['TraversalRequestNameStack']
            self.request['TraversalRequestNameStack'] = []
        else:
            pass

    def nozope(self):
        self.request.form['resource'].reverse()
        resourcepath = '/'.join(['++resource++nozope']+self.request.form['resource'])
        obj = self.context.unrestrictedTraverse(resourcepath).__of__(self)
        method = obj.__browser_default__(self.request)[1][0]
        return getattr(obj, method)()
</pre>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2009/08/das-brauche-ich-bestimmt-nochmal-einen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ok, ich werde der Spezialist in Sachen &#8230;</title>
		<link>http://dump.adiwidjaja.com/2009/08/ok-ich-werde-der-spezialist-in-sachen/</link>
		<comments>http://dump.adiwidjaja.com/2009/08/ok-ich-werde-der-spezialist-in-sachen/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 18:38:43 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[zope]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2009/08/ok-ich-werde-der-spezialist-in-sachen/</guid>
		<description><![CDATA[Ok, ich werde der Spezialist in Sachen &#8220;Verbindung von altem und neuem Zope&#8221;. Einen neuen View in altem DTML aufrufen:

&#60;dtml-var expr=&#34;restrictedTraverse('@@admin_bereich')()&#34;&#62;

Fast einfach.]]></description>
			<content:encoded><![CDATA[<p>Ok, ich werde der Spezialist in Sachen &#8220;Verbindung von altem und neuem Zope&#8221;. Einen neuen View in altem DTML aufrufen:</p>
<pre class="brush: html;">
&lt;dtml-var expr=&quot;restrictedTraverse('@@admin_bereich')()&quot;&gt;
</pre>
<p>Fast einfach.</p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2009/08/ok-ich-werde-der-spezialist-in-sachen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python 2.4 auf MacOSX 10.4 Leopard ist s&#8230;</title>
		<link>http://dump.adiwidjaja.com/2009/06/python-2-4-auf-macosx-10-4-leopard-ist-s/</link>
		<comments>http://dump.adiwidjaja.com/2009/06/python-2-4-auf-macosx-10-4-leopard-ist-s/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 11:11:08 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[zope]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2009/06/python-2-4-auf-macosx-10-4-leopard-ist-s/</guid>
		<description><![CDATA[Python 2.4 auf MacOSX 10.4 Leopard ist sch&#8230; Ich habe den ganzen Samstag damit verbracht, unterschiedliche Lösungswege auszuprobieren. Das hier löste das Problem auf der Konsole:
http://blog.crowproductions.de/2008/12/14/a-buildout-to-tame-the-snake-pit/
Trotzdem ist es immer noch so, dass der Zope-Server abbricht, wenn ich so etwas schreibe:

&#60;h1 tal:content=&#34;context/childNodes&#34;&#62;&#60;/h1&#62;
]]></description>
			<content:encoded><![CDATA[<p>Python 2.4 auf MacOSX 10.4 Leopard ist sch&#8230; Ich habe den ganzen Samstag damit verbracht, unterschiedliche Lösungswege auszuprobieren. Das hier löste das Problem auf der Konsole:</p>
<p><a href="http://blog.crowproductions.de/2008/12/14/a-buildout-to-tame-the-snake-pit/" rel="nofollow">http://blog.crowproductions.de/2008/12/14/a-buildout-to-tame-the-snake-pit/</a></p>
<p>Trotzdem ist es immer noch so, dass der Zope-Server abbricht, wenn ich so etwas schreibe:</p>
<pre class="brush: html;">
&lt;h1 tal:content=&quot;context/childNodes&quot;&gt;&lt;/h1&gt;
</pre>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2009/06/python-2-4-auf-macosx-10-4-leopard-ist-s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Es gibt jetzt ein aktuelles Zope-Buch: h&#8230;</title>
		<link>http://dump.adiwidjaja.com/2009/06/es-gibt-jetzt-ein-aktuelles-zope-buch-h/</link>
		<comments>http://dump.adiwidjaja.com/2009/06/es-gibt-jetzt-ein-aktuelles-zope-buch-h/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 09:30:02 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[zope]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2009/06/es-gibt-jetzt-ein-aktuelles-zope-buch-h/</guid>
		<description><![CDATA[Es gibt jetzt ein aktuelles Zope-Buch:
http://docs.zope.org/zope2/zope2book/source/index.html
Unter anderem auch die ZPT-Referenz:
http://docs.zope.org/zope2/zope2book/source/AppendixC.html]]></description>
			<content:encoded><![CDATA[<p>Es gibt jetzt ein aktuelles Zope-Buch:<br />
<a href="http://docs.zope.org/zope2/zope2book/source/index.html" rel="nofollow">http://docs.zope.org/zope2/zope2book/source/index.html</a></p>
<p>Unter anderem auch die ZPT-Referenz:<br />
<a href="http://docs.zope.org/zope2/zope2book/source/AppendixC.html" rel="nofollow">http://docs.zope.org/zope2/zope2book/source/AppendixC.html</a></p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2009/06/es-gibt-jetzt-ein-aktuelles-zope-buch-h/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basiswissen in modernen Zope-Techniken: &#8230;</title>
		<link>http://dump.adiwidjaja.com/2009/06/basiswissen-in-modernen-zope-techniken/</link>
		<comments>http://dump.adiwidjaja.com/2009/06/basiswissen-in-modernen-zope-techniken/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 12:22:19 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[zope]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2009/06/basiswissen-in-modernen-zope-techniken/</guid>
		<description><![CDATA[Basiswissen in modernen Zope-Techniken:
http://www.carduner.net/docs/z3c-tutorial/index.html]]></description>
			<content:encoded><![CDATA[<p>Basiswissen in modernen Zope-Techniken:</p>
<p><a href="http://www.carduner.net/docs/z3c-tutorial/index.html" rel="nofollow">http://www.carduner.net/docs/z3c-tutorial/index.html</a></p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2009/06/basiswissen-in-modernen-zope-techniken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buildout Dokumentation:  http://www.buil&#8230;</title>
		<link>http://dump.adiwidjaja.com/2009/06/buildout-dokumentation-httpwww-buil/</link>
		<comments>http://dump.adiwidjaja.com/2009/06/buildout-dokumentation-httpwww-buil/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 13:40:53 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[zope]]></category>

		<guid isPermaLink="false">http://dump.adiwidjaja.com/2009/06/buildout-dokumentation-httpwww-buil/</guid>
		<description><![CDATA[Buildout Dokumentation:
http://www.buildout.org/docs/index.html]]></description>
			<content:encoded><![CDATA[<p>Buildout Dokumentation:</p>
<p><a href="http://www.buildout.org/docs/index.html" rel="nofollow">http://www.buildout.org/docs/index.html</a></p>]]></content:encoded>
			<wfw:commentRss>http://dump.adiwidjaja.com/2009/06/buildout-dokumentation-httpwww-buil/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

