[BlueBream] uses of a interface

Baiju M mbaiju at zeomega.com
Wed Feb 17 22:13:04 EST 2010


On Sat, Feb 13, 2010 at 12:28 AM, Gustavo Rahal
<grahal at linux.vnet.ibm.com> wrote:
>
>
> So, I assumed that
>
> class IInformation(INestContainedContent):
>    pass
>
> class Information:
>   implements(IInformation)
>
>
> OR
>
> class IInformation(Interface):
>
> <class class=".information.Information">
>    <implements interface=".interfaces.INestContainedContent" />
>
>
> Were the same thing but it proved to be different
>
> In the first case, getAdapter((infoObj, request), name="index.html")
> returned the view. In the second case it didn't

In the second case, what is the definition of 'Information' class ?

Regards,
Baiju M


More information about the bluebream mailing list