Re: [Zope-dev] ZPatterns again? Propertysheet not available

2000-09-09 Thread Steve Alexander

James Johnson wrote:

> Here is my code and the error is nips name not found. Any suggestions
>  ni="['_.newItem(id)']">
> Print this:

I don't understand what you're trying to do here.
Your code appears to bind to the variable "ni" a list containing the 
string literal "_.newItem(id)"


> nips ="['_.get('GBookProps')']">
> 
>  guest_name, 'string')">
>
> 
> 

You need to add a propertysheet to object.propertysheets before you can 
add properties to that propertysheet. You cannot add properties directly 
to object.propertysheets.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




[Zope-dev] ZPatterns again? Propertysheet not available

2000-09-07 Thread James Johnson

Here is my code and the error is nips name not found. Any suggestions

Print this:


nips ="['_.get('GBookProps')']">


   



Get your Free E-mail at http://tacoma.zzn.com

Get your own Web-Based E-mail Service at http://www.zzn.com

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )