Open GoogleCodeExporter opened 9 years ago
Yeah, I have the same problem ... and I think @andy solution seems right, hope
we can the this bug fixed soon!
Original comment by hn.sgmedia
on 18 Jan 2012 at 9:55
Could you kindly post an example code< of how you sorted this??
Im using wicket 1.5.5 and im now wondering if it is not conflicting?
Regards
Original comment by pandre...@fnb.co.za
on 3 Apr 2012 at 11:55
Hi... based on the comments above, I made explicit changes to the
JQContributionRenderer class to check for nulls in these methods:
private void renderJsResourcesUrls(IHeaderResponse response,
Collection<CharSequence> resources) {
for (CharSequence url : resources) {
if (url != null)
response.renderJavaScriptReference(determineResourcesUrl(url));
}
}
private void renderJsResourcesRefs(IHeaderResponse response, Collection<JavaScriptResourceReference> resources) {
for (JavaScriptResourceReference ref : resources) {
if (ref != null)
response.renderJavaScriptReference(ref);
}
}
private void renderCssResourcesUrls(IHeaderResponse response, Collection<CharSequence> resources) {
for (CharSequence url : resources) {
if (url != null)
response.renderCSSReference(determineResourcesUrl(url));
}
}
private void renderCssResourcesRefs(IHeaderResponse response, Collection<CssResourceReference> resources) {
for (CssResourceReference ref : resources) {
if (ref != null)
response.renderCSSReference(ref);
}
}
Original comment by drbobdu...@gmail.com
on 20 Apr 2012 at 3:09
Hi guys... Here's the SOLUTION:
JQContributionConfig config = new JQContributionConfig().withDefaultJQueryUi();
getComponentPreOnBeforeRenderListeners().add(new
JQComponentOnBeforeRenderListener(config));
Original comment by alan.damghani
on 25 Jun 2012 at 10:04
Hey Alan,
the solution you posted is a workaround and does not help, if you want to use
jqwicket with local JavaScriptResourceReferences and other versions of jquery.
Is there any way to extend the JQContributionRenderer and overwrite some
methods?
Original comment by emel.se...@gmx.de
on 28 Aug 2012 at 8:08
Original issue reported on code.google.com by
andy.bl...@gmail.com
on 14 Jan 2012 at 5:44