I am new to zope web application I want to creat a tab interface I copy following code form somebody else <html metal:use-macro="container/standard_template.pt/macros/page"> <div metal:fill-slot="body"> <table width="100%" cellpadding="0" cellspacing="0" tal:define="username user/getUserName; selectedTab request/tab> </table> </div> </html> When i test it I get Zope Error Zope has encountered an error while publishing this resource. Error Type: KeyError Error Value: tab How can i fix this problem? Thanks
any suggestions or hints? Thanks n Fri, Oct 10, 2003 at 08:26:43PM -0400, Jianping Zhu wrote:
I am new to zope web application I want to creat a tab interface I copy following code form somebody else
<html metal:use-macro="container/standard_template.pt/macros/page"> <div metal:fill-slot="body"> <table width="100%" cellpadding="0" cellspacing="0" tal:define="username user/getUserName; selectedTab request/tab> </table> </div> </html>
When i test it I get
Zope Error Zope has encountered an error while publishing this resource.
Error Type: KeyError Error Value: tab
How can i fix this problem?
Thanks
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Jianping Zhu wrote at 2003-10-10 20:26 -0400:
I am new to zope web application I want to creat a tab interface I copy following code form somebody else
<html metal:use-macro="container/standard_template.pt/macros/page"> <div metal:fill-slot="body"> <table width="100%" cellpadding="0" cellspacing="0" tal:define="username user/getUserName; selectedTab request/tab> </table> </div> </html>
When i test it I get
Zope Error Zope has encountered an error while publishing this resource.
Error Type: KeyError Error Value: tab
Your request does not come with a "tab" variable. Dieter
participants (2)
-
Dieter Maurer -
Jianping Zhu