Re: [Zope] getting the keys:values in a propertyItems() object
- Original Message - From: "Kamal Hamzat" <[EMAIL PROTECTED]> To: Sent: Thursday, March 06, 2008 7:07 PM Subject: [Zope] getting the keys:values in a propertyItems() object Hi,I have this lines of dtml methods._.getitem('080211'))">Which rendered these Keys:Values below[('title', "The man Wants Refinery For Living"), ('lastEditDate', DateTime('2008/02/11 11:49:26.254 US/Eastern')), ('EpozDocumentTemplate', ''), ('author', 'By Chesal Chesal'), ('summary', "He has directed that further investment in private refineries be targeted at the axis which consumes 15 million litres of fuel per day, more than half the country's total.")] Please, how do I extract each key with its corresponding value. For example title : The man Wants Refinery For Living.Thankskamal Yet another option: Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] getting the keys:values in a propertyItems() object
At my management tree page I use following code where object is pushed into namespace by dtml-in, so inspire yours here: 'ZipFolder' ])" sort=id skip_unauthorized> ... [" > 10">...] ... You should use dtml-with to push object into namespace. Regards, JL. - Original Message - From: Kamal Hamzat I have this lines of dtml methods. Which rendered these Keys:Values below [('title', "The man Wants Refinery For Living"), ('lastEditDate', DateTime('2008/02/11 11:49:26.254 US/Eastern')), ('EpozDocumentTemplate', ''), ('author', 'By Chesal Chesal'), ('summary', "He has directed that further investment in private refineries be targeted at the axis which consumes 15 million litres of fuel per day, more than half the country's total.")] Please, how do I extract each key with its corresponding value. For example title : The man Wants Refinery For Living. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] getting the keys:values in a propertyItems() object
+---[ Kamal Hamzat ]-- | Hi, | | I have this lines of dtml methods. | | | | | | Which rendered these Keys:Values below | | [('title', "The man Wants Refinery For Living"), | | ('lastEditDate', DateTime('2008/02/11 11:49:26.254 US/Eastern')), | | ('EpozDocumentTemplate', ''), ('author', 'By Chesal Chesal'), | | ('summary', "He has directed that further investment in private refineries be targeted at the axis which consumes 15 million litres of fuel per day, more than half the country's total.")] | | Please, how do I extract each key with its corresponding value. For example title : The man Wants Refinery For Living. : -- Andrew Milton [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )