[Zope] code problem

Jianping Zhu jzhu at fisher.forestry.uga.edu
Fri Oct 10 21:10:48 EDT 2003


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 at 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 )



More information about the Zope mailing list