No probs :)<br><br><div><span class="gmail_quote">On 10/1/07, <b class="gmail_sendername">Tom Lazar</b> &lt;<a href="mailto:lists@tomster.org">lists@tomster.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
david, thanks for sharing that -- i&#39;ll be needing this shortly and<br>you just saved me some googling ;-)<br><br>cheers,<br><br>tom<br><br>On 28.09.2007, at 04:15, David Bain wrote:<br><br>&gt; Okay... events rock! woo-hoo!
<br>&gt;<br>&gt; I got the meeting rename after creation back by getting rid of my<br>&gt; initializeArchetype code and using my product&#39;s configure.zcml and<br>&gt; a custom factory.<br>&gt;<br>&gt; 1. I removed the whole initializeArchetype thing
<br>&gt; 2. moved that code into a method called<br>&gt; &#39;createMeetingCollectionsAfterCreation&#39;<br>&gt; 3. added a subscriber directive in my configure.zcml which<br>&gt; &quot;listens&quot; for an ObjectAddedEvent
<br>&gt;<br>&gt; Something like this:<br>&gt;<br>&gt; &lt;subscriber<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for=&quot;Products.meeting.interfaces.meeting.IMeeting<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zope.app.container.interfaces.IObjectAddedEvent&quot;
<br>&gt;<br>&gt; factory=&quot;Products.meeting.content.meeting.createMeetingCollectionsAfte<br>&gt; rCreation&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&gt;<br>&gt;<br>&gt; I found this page to be the most helpful: <a href="http://plone.org/">
http://plone.org/</a><br>&gt; documentation/tutorial/five-zope3-walkthrough/events<br>&gt;<br>&gt; Thanks to all the people on the product-developers list :)<br>&gt;<br>&gt;<br>&gt; so I&#39;m slowly ticking off the checklist, browser views, events,
<br>&gt; viewlets.<br>&gt;<br>&gt; I&#39;ve included all the details above in case someone has a similar<br>&gt; problem and is googling it :)<br>&gt;<br>&gt; On 9/27/07, Martin Aspeli &lt;<a href="mailto:optilude@gmx.net">
optilude@gmx.net</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt; David Bain wrote:<br>&gt; &gt;<br>&gt; &gt; ObjectAdded Event?<br>&gt; &gt; Sounds like the whole events, utilties, adapters thing is coming<br>&gt; to bite<br>&gt; &gt; me... again
<br>&gt; &gt; I&#39;ve been moving slowly to the new paradigm, starting with<br>&gt; browser views.<br>&gt; &gt;<br>&gt; &gt; Do you have a quick example? It would really help.<br>&gt; &gt;<br>&gt;<br>&gt; Try the b-org tutorial on 
<a href="http://plone.org">plone.org</a>, or my book[1]. You may be<br>&gt; interested in<br>&gt; the book anyway, since it will definitely bite you with the &quot;new<br>&gt; paradigm&quot;,<br>&gt; and hopefully make it a bit less scary along the way. ;-)
<br>&gt;<br>&gt; Martin<br>&gt;<br>&gt; [1] <a href="http://www.packtpub.com/Professional-Plone-web-applications-CMS/">http://www.packtpub.com/Professional-Plone-web-applications-CMS/</a><br>&gt; book<br>&gt; --<br>&gt; View this message in context: 
<a href="http://www.nabble.com/broken-rename-">http://www.nabble.com/broken-rename-</a><br>&gt; after-creation-due-to-initializeArchetype-tweak-<br>&gt; tf4528693s20094.html#a12923901<br>&gt; Sent from the Product Developers mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Product-Developers mailing list<br>&gt; <a href="mailto:Product-Developers@lists.plone.org">Product-Developers@lists.plone.org
</a><br>&gt; <a href="http://lists.plone.org/mailman/listinfo/product-developers">http://lists.plone.org/mailman/listinfo/product-developers</a><br>&gt;<br>&gt; _______________________________________________<br>&gt; Product-Developers mailing list
<br>&gt; <a href="mailto:Product-Developers@lists.plone.org">Product-Developers@lists.plone.org</a><br>&gt; <a href="http://lists.plone.org/mailman/listinfo/product-developers">http://lists.plone.org/mailman/listinfo/product-developers
</a><br><br></blockquote></div><br>