Hi. See: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HBindings
2014-07-04 0:09 GMT+02:00 Jason Clemons <[email protected]>: > Can anyone tell me how to get the current page name from Velocity code? > > > On Jul 2, 2014, at 11:51 PM, "Jason Clemons" <[email protected]> > wrote: > > > > Hello, > > > > I'm new new new to xwiki, but I think it's pretty cool so far. I've been > > killing myself trying to work out where to add javascriptextension on an > > "app within minute" page. I want the javascript to create some handlers > on > > page load, hide some buttons, form validation etc.. for the life of me I > > can't really figure out the best place to put my code. Right now I've > got > > some javascript working by putting an {{html}} tag with a <script> tag on > > the class sheet, but somehow it doesn't feel like the right way to do it. > > > > Any help is greatly appreciated. > > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
