aq_explicit only and DTML Documents
Can anyone tell me why this doesn't show the contents of the "summary" property on DTML Documents? Folders and Structured Text Documents work just fine. <dl> <dtml-in expr="objectValues(['DTML Document', 'Folder', 'File', 'Structured Text Document'])" sort=title_or_id skip_unauthorized> <dt> <a href="<dtml-var absolute_url>"> <img src="<dtml-var icon>" border="0"> <dtml-var title_or_id></a> </dt> <dd> <dtml-with aq_explicit only> <dtml-var summary missing=""> </dtml-with> <p></p> </dd> </dtml-in> </dl> -- Matt Behrens <matt.behrens@kohler.com> System Analyst, Baker Furniture
Probably because DTML Documents dont have a summary. By default in fact Folder objects dont have a summary, so Im assuming you are using some custom products... Cheers. -- Andy McKay. ----- Original Message ----- From: "Behrens Matt - Grand Rapids" <Matt.Behrens@Kohler.Com> To: <zope@zope.org> Sent: Wednesday, October 10, 2001 7:01 AM Subject: [Zope] aq_explicit only and DTML Documents
Can anyone tell me why this doesn't show the contents of the "summary" property on DTML Documents?
Folders and Structured Text Documents work just fine.
<dl> <dtml-in expr="objectValues(['DTML Document', 'Folder', 'File', 'Structured Text Document'])" sort=title_or_id skip_unauthorized> <dt> <a href="<dtml-var absolute_url>"> <img src="<dtml-var icon>" border="0"> <dtml-var title_or_id></a> </dt> <dd> <dtml-with aq_explicit only> <dtml-var summary missing=""> </dtml-with> <p></p> </dd> </dtml-in> </dl>
-- Matt Behrens <matt.behrens@kohler.com> System Analyst, Baker Furniture
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Matt Behrens wrote:
Can anyone tell me why this doesn't show the contents of the "summary" property on DTML Documents?
I should clarify that this summary property has been added by me to documents, folders, and other items that I want a summary to show for. -- Matt Behrens <matt.behrens@kohler.com> System Analyst, Baker Furniture
I should clarify that this summary property has been added by me to documents, folders, and other items that I want a summary to show for.
Ah take off the only <dtml-with aq_explicit> Cheers. -- Andy McKay. ----- Original Message ----- From: "Behrens Matt - Grand Rapids" <Matt.Behrens@Kohler.Com> To: <zope@zope.org> Sent: Wednesday, October 10, 2001 10:01 AM Subject: [Zope] Re: aq_explicit only and DTML Documents
Matt Behrens wrote:
Can anyone tell me why this doesn't show the contents of the "summary" property on DTML Documents?
I should clarify that this summary property has been added by me to documents, folders, and other items that I want a summary to show for.
-- Matt Behrens <matt.behrens@kohler.com> System Analyst, Baker Furniture
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Andy McKay wrote:
Ah take off the only
<dtml-with aq_explicit>
No good. The only is needed to keep summary props from folders from being acquired by subfolders and contained documents; not all objects have summaries in this scheme. -- Matt Behrens <matt.behrens@kohler.com> System Analyst, Baker Furniture
participants (2)
-
Andy McKay -
Behrens Matt - Grand Rapids