In 1.1.1 <body> has a special wicket container associated. I assume
you have Panel and that Panel has some <wicket:head> to contribute
something to the pages header. Than simply add a <body onLoad="xxx" to
your panel and your done.

<wicket:head>
   javascript
</wicket:head>
<body onLoad="functionX()">
<wicket:panel>
  ...
</wicket:panel>
</body>

Juergen

On 2/28/06, Timo Stamm <[EMAIL PROTECTED]> wrote:
> Hi.
>
>
> I have to modify the onload attribute of the body tag. I thought it
> would be sufficient to add a new WebMarkupContainer in my base Page and
> link it to the body tag in the markup.
>
> But unfortunately it doesn't seem to be so easy. (I have to override the
> "add" methods of Page, and Wicket compains about that.)
>
>
> Is there a recommended way?
>
>
> Timo
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to