[Zope-dev] ComputedAttribute Object

robert rottermann robert at redcor.ch
Mon Apr 27 03:23:37 EDT 2009


Sandrine Meyantchop schrieb:
> i have only try with str, but the problem is that i want to have for
> example the title but str(self.title) return ComputedAttribute object at
> 0xb7cdb8a0.
self.title() ??

> 
> 
> --- En date de : *Lun 27.4.09, robert rottermann /<robert at redcor.ch>/* a
> écrit :
> 
>     De: robert rottermann <robert at redcor.ch>
>     Objet: Re: [Zope-dev] ComputedAttribute Object
>     À: elsandram at yahoo.fr
>     Cc: Zope-Dev at zope.org
>     Date: Lundi 27 Avril 2009, 8h40
> 
>     Sandrine Meyantchop schrieb:
>     > Hello,
>     > i want to know how i can convert a ComputedAttribute Object to a String.
>     > I have exactly the problem explain here:
>     > http://www.zope.org/Collectors/Ape/19
>     > but i want to have a string in state of a ComputedAttribute Object.
>     >
>      Any Ideas??
>     > Sandra
>     > 
>     > 
>     > 
>     > ------------------------------------------------------------------------
>     > 
>     > _______________________________________________
>     > Zope-Dev maillist  -  Zope-Dev at 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 )
>     str(object) ??
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at 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 )



More information about the Zope-Dev mailing list