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

2008-02-14 Thread Ronaldo Z. Afonso
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/titlerecipe name goes here/h2

is rendering to:

h2recipe name goes here/h2

instead of:

h2Minestrone/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?

Thanks in advance ...
Ronaldo

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


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

2008-02-14 Thread Christophe Combelles

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/titlerecipe name goes here/h2

is rendering to:

h2recipe name goes here/h2

instead of:

h2Minestrone/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@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users




___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users