Previously Binseer N wrote: > Hi all, > Can anybody tell me how can i add resource by using z3c.pt. i know how to > add it by using zope.pagetemplate, i tried it and it was working well. The > following is the code i am working with and it was not working with z3c.pt > > > *configure.zcml:- > > . > . > *<adapter > factory=".resizing_font.form_template" > for=".resizing_font.ResizingFont" > name="tatr_css_js.form" > /> * > > *<browser:resourceDirectory > name="tatr_js" > directory="tatr_resource_js" > /> * > > . > . > . > > > resizing_font.pt :- > > *<html>* > * <head> > <script type="text/javascript" src="jquery-1.2.6.js" > tal:attributes="src > context/++resource++tatr_js/jquery-1.2.6.js"> > </script> > </head> > <body> > This is a test :) > </body> > > </html>*
Try adding a trailing ; after your TALES expression. Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )