[Zope] Problems calling directory

Adrian Madrid aem@byu.edu
Thu, 19 Apr 2001 17:39:31 -0700 (PDT)


I have a zclass which defines articles with a
'location' field. (ie. location =
'Portal.Publications.Review'). My problem is that the
articles are located in a certain area but need to
show in the 'location' specified. I don't understand
why this code works:

<dtml-with "Portal.Publications.Review">
  <p>This is the <dtml-var document_id> Document 
     in the <dtml-var title_and_id> Folder.</p>
</dtml-with>

While this code does not work:

<dtml-with "_['location']">
  <p>This is the <dtml-var document_id> Document 
     in the <dtml-var title_and_id> Folder.</p>
</dtml-with>

Any ideas?



=====
---------------------------
Adrian Esteban Madrid
Benson Institute, Webmaster
Brigham Young University
---------------------------
adrian_esteban@madrid.com
===========================

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/