wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: running visural wicket with wicket 1.5
Date Thu, 10 May 2012 13:51:59 GMT
app.getHeaderContributorListenerCollection().add(new IHeaderContributor() {
  @Override public void renderHead(IHeaderResponse response) {
    response.renderJavaScriptReference(new JQueryResourceReference());
  }
})

On Thu, May 10, 2012 at 4:37 PM, Paul Szulc <paul.szulc@gmail.com> wrote:
> Ok, for some of you very simple question but even with this
> https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5#MigrationtoWicket1.5-HeaderContribution
> I
> can not get Visural Wicket running on Wicket 1.5.6
>
> For Wicket 1.4 I was doing something like this
>
> public class Application extends WebApplication {
>
>    public Application() {
>        addRenderHeadListener(JavascriptPackageResource.getHeaderContribution(new
> JQueryResourceReference()));
>    }
>
>
> and hurray visural-with was up and running. What should I do in 1.5 to use
> it without pain? :)
>
>
> Paul Szulc



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message