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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"z3c.pt" group.
To post to this group, send email to z3c_pt@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/z3c_pt?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to