Hi there,
On Oct 14, 2010, at 6:43 AM, Bauyrzhan Matyganov wrote:
> Hello community
>
> I have created JS Extension file
> its code is : alert("Hello world");
> I configured it as run on demand.
>
> I use this code in order to call js:
> {{velocity}}
> $xwiki.jsx.use("XWiki.FirstJS")
> {{/velocity}}
>
> however it does not do anything.
>
> Any ideas how to run JS?
Yes, see the skin extension tutorial:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial
Thanks
-Vincent
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users