Hello,
I have been looking at wicket for some time. I found it after looking at
many other frameworks (Struts, Spring, WebWork, etc). Wicket seemed to be
the best suited to my needs (more java focused with great components).
Although, technically, it had one the web framework race for me, its
doc
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
gt;> > Use
>> >
>> > new JavaScriptReference("myJs", "scripts/myjs.js");
>> >
>> > btw, you don't really need the section, as you can simply
>> do:
>> >
>> > add(HeaderContributor.forJavaScript("s