Re: [Zope] getitem problem

2000-11-20 Thread Chris Withers

Matt wrote:
> 
   ^
   Here's your problem. 

The string supplied to getitem() can't contain dots since it should be
the id of a single object

Given that you're passing a 1 as getitem's second attribute, the
following is probably better code:



or:


 


cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] getitem problem

2000-11-18 Thread Matt

why does the first work and not the second ?
staticProperties is a dtmlDocument and container_metatype is a property
of it.

1)

this is a container

this is a folder

this is not a container



2)

this is a container

this is a folder

this is not a container


the same will happen with :





regards
Matt


___
Zope maillist  -  [EMAIL PROTECTED]
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 )