[Zope3-dev] Re: Testing for a view

Godefroid Chapelle gotcha@swing.be
Thu, 06 Mar 2003 13:34:09 +0100


Sidnei da Silva wrote:
> Howdy,
> 
> I just stumbled on a small thing that I think that could be easily
> fixed, but I dont know if everyone would agree on this. Heres the
> issue:
> 
> Currently, the metadata box on is rendered using a view for
> dublincore. This view can be accessed using @@MetaDataBox. 
> 
> When testing for inclusion of the metadata box, the Z3 UI right now
> tests does this:
> 
> .... 
>      tal:define="view context/@@MetaDataBox"
>      tal:condition="view">
> ....
> 
I am happy you found that bug that I had forgotten.
I should have corrected it :-|