Re: [Wicket-user] Link to javascript for a custom component

2007-06-13 Thread Pieter Cogghe
EDIT: it does work, there's something wrong with the order of the links => a problem with the initialisation of my javascript 2007/6/13, Pieter Cogghe <[EMAIL PROTECTED]>: > I made a panel MyPanel and want to link to some javascript file for > the behaviour > > The directory structure looks like t

[Wicket-user] Link to javascript for a custom component

2007-06-13 Thread Pieter Cogghe
I made a panel MyPanel and want to link to some javascript file for the behaviour The directory structure looks like this: package-structure/MyPanel.java package-structure/scripts/my.jsp So id added this: add(HeaderContributor.forJavaScript(MyPanel.class, "scripts/my.js")); which renders like