Re: Adding Javascript using Wicket onto a page that is not the header

2009-05-19 Thread Jeremy Thomerson
setEscapeModelStrings(false) on your label -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 19, 2009 at 8:57 PM, Patrick Fong wrote: > Hi > > I want to add Javascript which loads Javascript client side variables when a > page loads. It would call a Javascript function and pass in

Adding Javascript using Wicket onto a page that is not the header

2009-05-19 Thread Patrick Fong
Hi I want to add Javascript which loads Javascript client side variables when a page loads. It would call a Javascript function and pass in server-side values. Typically to add HTML text I would do a add(new Label(id, "Blah")); However, I want to add a Javascript function that would be enclosed