[Zope-dev] DTML Document ZClass storing id as <string>

Jason Spisak webmaster@mtear.com
Thu, 09 Sep 1999 14:40:11 -0400


This is a second post on this one.

I have a ZClass based on DTML Document that is doing something weird. 
After I create an instance, I can see it in the management interface and
it has the 'id' that I gave it.  However, I can't bring it's id up using
<!--#in expr"objectValues()"-->, or the tree tag, or <!--#var id-->.  I
get back <string>.
I can create these objects from python just fine.  Here is the DTML used
to create them:

<!--#with "ResumeClass.createInObjectManager('html_resume', REQUEST)"-->
  <!--#call "propertysheets.ResumeProperties.manage_changeProperties(
             create_date=REQUEST['create_date'])"-->
  <!--#if "REQUEST.has_key('res')"-->
    <!--#call "propertysheets.ResumeProperties.manage_changeProperties(
	       resume=REQUEST['res'].read())"-->
  <!--#/if-->
  <!--#call "manage_edit(ResumeClass_template,REQUEST['title'])"-->
  <!--#call reindex_object-->
<!--#/with-->

<!--#call "RESPONSE.redirect('middle')"-->


The id 'html_resume' comes up in the management interface, but I can't
get a link to it otherwise, or it's id back.

Any ideas?

-- 
Jason Spisak
webmaster@mtear.com