Something I have noticed with renderOnLoad with my site is that it stopped being called after I added some Javascript for banner ads. Maybe their included script replaced the wicket function. I had to revert to using onLoad which makes gives the impression that the maps load more slowly.

I have been thinking about creating a panel to include at the bottom of the page that renders scripts etc. Anyone tried something like this?

On 8 Oct 2007, at 08:15, Matej Knopp wrote:

What wicket version are you using?

In 1.3 there's much better way to do this. Just use
renderOnLoad/renderOnDomReady javascript on IHeaderResponse.

-Matej

On 10/8/07, Evan Chooly <[EMAIL PROTECTED]> wrote:
I used the following in my page constructor, but I'm not seeing the change
in the HTML.  What am I missing?

add(new BodyTagAttributeModifier("onload", true, new Model ("foo()"),
this));


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to