[Zope3-Users] Page Template not rendering the way it should

Christophe Combelles ccomb at free.fr
Thu Feb 14 13:09:51 EST 2008


Ronaldo Z. Afonso a écrit :
> Hi there,
> 
> I'm trying to view the content of an object but it seems that my page
> template gets nothing from ZODB. It's rendering the same way as if I was
> seeing the page template from the file system (as I have no persistent
> content). For example: 
> 
> <h2 tal:content="context/name/title">recipe name goes here</h2>
> 
> is rendering to:
> 
> <h2>recipe name goes here</h2>
> 
> instead of:
> 
> <h2>Minestrone</h2>
> 
> How can I check the contents of ZODB? Just to make sure there is
> contente in ZODB, and if there is some content, does anyone has any clue
> about what is preventing my template from rendering the way it should?

Hi Ronaldo,

the last time I saw this behaviour, it was an omission or a wrong xmlns 
definition at the beginning of the template.

for example:
xmlns:tal="http://xml.zope.org/namespace/tal"

instead of
xmlns:tal="http://xml.zope.org/namespaces/tal"

Christophe


> 
> Thanks in advance ...
> Ronaldo
> 
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
> 
> 



More information about the Zope3-users mailing list