[BlueBream] uses of a interface

Gustavo Rahal grahal at linux.vnet.ibm.com
Fri Feb 12 13:58:57 EST 2010



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

What is the theory behind this?




-- 
Gustavo Matheus Rahal
IBM Linux Technology Center




More information about the bluebream mailing list