I am trying to use JavaScriptReference and add it to a panel's header
section.
JavaScriptReference js = new JavaScriptReference(
"myJs",
MyClass.class,
"scripts/myjs.js");
in my panel
and
<head>
<wicket:head>
<script wicket:id="myJs" language="javascript"
type="text/javascript"></script>
</wicket:head>
</head>
However, I would like to locate the mysj.js in a scripts directory off the
main (root) directory. I want the following dir structure...
webapps
myapp
WEB-INF
classes
myapp
scripts
Can anyone help me?
Thanks
--
View this message in context:
http://www.nabble.com/Problem-using-JavaScriptReference-tf2906839.html#a8121038
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user