[BlueBream] uses of a interface

Gustavo Rahal grahal at linux.vnet.ibm.com
Fri Feb 19 15:13:10 EST 2010


Em Qui, 2010-02-18 às 08:43 +0530, Baiju M escreveu:
> 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 ?
> 

In both cases implementation is

class Information(ContentContainer):
    implements(IInformation)



> Regards,
> Baiju M



-- 
Gustavo Matheus Rahal
ABAT Architect
IBM Linux Technology Center




More information about the bluebream mailing list