[Zope] Object acquisition question

Jorge O. Martinez jmartinez@emediamillworks.com
Fri, 19 Apr 2002 10:03:32 -0400


Hans:

Worked like a charm! Thanks a lot for your help. I went for the 
'Transparent Folders' solution. Very nice.

Jorge M.

hans wrote:
> "Jorge O. Martinez" wrote:
> 
> 
>>Hi:
>>
>>When I started playing with zope, I put a bunch of ZSQL objects in the
>>dev area(/dev), and along with them there was some DTML docs that use
>>these objects. However, I have now put all the object in one folder (say
>>SqlObjects, still inside the dev area), but my DTML docs crash because
>>they can't see the ZSQL objects.
>>
>>I know that I have to somehow tell my DTML documents of the location
>>change, but can't figure out the right way, I tried (among many other
>>things):
>>
>><dtml-in context.dev.SqlObjects.myZSQLObject>
>>do stuff
>></dtml-in>
>>
>>dtml document name: myDTMLdoc.html
>>
>>and many other combinations with no luck. Could anyboy outhere be so
>>kind to share the right way to do it. I looked at the doc, and tried to
>>follow the hippo example, but didn't get it to work in my case.
> 
> 
> http://www.zope.org/Members/TheJester/CleanYourTree
> http://www.zope.org/Members/hathawsh/TransparentFolders
> might help, if SqlObjects is Transparent.
> in addition (depends on TransparentFolder),
> http://www.zope.org/Members/srichter/Products/OrderedFolder
> and latest
> http://demo.iuveno-net.de/iuveno/Products/OrderedFolder
> 
> -------------------------------------------------------------
> Who's got only a hammer sees the world as a nail
> hans augustin  (software developer)           hans@beehive.de
> beehive elektronische medien GmbH       http://www.beehive.de
> phone: +49 30 847-82 0                  fax: +49 30 847-82 299
> 
> 



-- 
Jorge O. Martinez
MIS Senior Associate
eMediaMillWorks
1100 Mercantile Lane, Suite 119
Largo, MD 20774
E-mail  => jmartinez@eMediaMillWorks.com
Phone   => (301)883-2482 ext. 105
Fax     => (301)883-9754