Re: [Zope-dev] Reading contents of a Page Template
Hi I have not completely finished implementing all changes as suggested by Mr.Cameroon. I thank you very much for your advice regarding item/isPrincipiaFolderish I have recieved other replies to my mail as well. Thank you for taking your time to give advice. Once I am able to test these different suggestions I will be able to mail back to Zope with a solution taking into consideration all help I have received from everyone. thanks once again Anitha
From: Paul Winkler <pw_lists@slinkp.com> To: zope-dev@zope.org Subject: Re: [Zope-dev] Reading contents of a Page Template Date: Mon, 18 Aug 2003 20:12:03 -0400
On Mon, Aug 18, 2003 at 03:05:44PM -0500, J Cameron Cooper wrote:
The condition check is pretty primitive. Probably a better one would check for the presence of the objectValues method like
tal:define="folderish nocall:item/objectValues" tal:condition="folderish | nothing"
That won't work as intended, you'll usually be able to acquire objectValues from the parent folder.
You might instead try: tal:condition="item/isPrincipiaFolderish | nothing"
--
Paul Winkler http://www.slinkp.com Look! Up in the sky! It's GEORGE ULTRA PENIS! (random hero from isometric.spaceninja.com)
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
_________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
participants (1)
-
Anitha George