-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yuri wrote:
>>>>    Yes, to the object. I would like to have a .my_method() on objects
>>>> with that marker interface set. So adapter should be the way.
>>>>
>>>>        
>>> Yes , you can do (with appropriate programming in the adapter class)
>>>
>>> ad = IMyservice(some_content_object)
>>>      
> 
> this works, no error
> 
>>> value = ad.some_method(some_args)
>>>
>>>      
> 
> this gives me AttributeError: some_method
>

The adapter of course has to implement some_method().

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwx26oACgkQCJIWIbr9KYyKsgCfbkFJYgNh8u2HV4m4VWmlAClU
IFYAoN6xakePYmoMzuIfVxDeuh7QeicT
=Achl
-----END PGP SIGNATURE-----

<<attachment: lists.vcf>>

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to