Another doubt about this subject.
I have overriden the addHeaders method like below.
How should I do to make wicket write the charset property/attribute?
@Override
protected void addHeaders() {
add(JavascriptPackageResource.getHeaderContribution(Index.class,./javascript/jquery.js));
It seems that in 1.4-SNAPSHOT HeaderContributor.forJavaScript among
other is deprecated, but I am unable to find any documentation about
what I should be using instead.
What is the replacement for the methods in HeaderContributor?
- Brill
Hi Brill,
You can use: JavascriptPackageResource.getHeaderContribution(..).
Martijn
On Sat, Feb 21, 2009 at 5:17 PM, Brill Pappin br...@pappin.ca wrote:
It seems that in 1.4-SNAPSHOT HeaderContributor.forJavaScript among other
is deprecated, but I am unable to find any documentation about
Thanks, thats perfect.
I guess they are still working on the javadoc etc because there was no
note anywhere I could find on that and nothing on the How to do
things with wicket wiki page.
- brill
On 21-Feb-09, at 11:35 AM, Martijn Reuvers wrote:
Hi Brill,
You can use: