<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><DIV>I made a pyhon product with catalogaware as one of my base class but my zcatalog named 'catalog'&nbsp;doesn't automatically catalog when I add a product item. what could be a problem?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please help</DIV>
<DIV>&nbsp;</DIV>
<DIV>this is part of&nbsp;my code that include catalogawareness:</DIV>
<DIV>&nbsp;</DIV>
<DIV>class ShpTypePointClass(Item, Persistent, Implicit, CatalogAware):<BR>#&nbsp;&nbsp;&nbsp; print "ShpTypePointClass"<BR>&nbsp;&nbsp;&nbsp; id='ShpTypePoint'<BR>&nbsp;&nbsp;&nbsp; meta_type='ShpTypePoint'<BR>&nbsp;&nbsp;&nbsp; manage_options = (<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 'label':'Properties','action':'manage_editShpTypePoint' },<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) + Item.manage_options<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; #_properties=(<BR>&nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp; { 'id':'title', 'type':'string', 'mode':'w'},<BR>&nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp; { 'id':'x', 'type':'string', 'mode':'w'},<BR>&nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp; { 'id':'y', 'type':'string', 'mode':'w'}<BR>&nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp; )<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; def __init__(self, id, x, y, dbfInfo):<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print 'initializing'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 self.id = id<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.x = x<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.y = y<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.dbfInfo = dbfInfo<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.reindex_object()</DIV>
<DIV>&nbsp;&nbsp;&nbsp; def printPoint(self):<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "print Point"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return "&lt;br&gt; printPoint Method &lt;br&gt; ID:" + self.id + " -- ( " + self.x&nbsp; + ", " + self.y + " )"</DIV>
<DIV>&nbsp;&nbsp;&nbsp; def edit(self, x, y, REQUEST=None):<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; """Edit the Point"""<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "edit"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.x = x<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.y = y<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.reindex_object()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if REQUEST is not None:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return self.manage_editShpTypePoint(self, REQUEST)</DIV>
<DIV>&nbsp;&nbsp;&nbsp; ##Web Methods<BR>&nbsp;&nbsp;&nbsp; index_html = HTMLFile('DTML/index_html', globals())<BR>&nbsp;&nbsp;&nbsp; manage_editShpTypePoint = HTMLFile('DTML/manage_editShpTypePoint', globals())</DIV>
<DIV>InitializeClass(ShpTypePointClass)</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></div><br>

<hr size=1>We won't tell. Get more on <a href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265
">shows you hate to love</a><br>(and love to hate): <a href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265
">Yahoo! TV's Guilty Pleasures list.</a></body></html>