BodyOnLoadContainer is dropped because you shouldn't try to generate <body
onload=xxx>

What you should do is have a header contributor and add call

IHeaderResponse.renderOnLoadJavascript(String javascript);

johan




On Nov 23, 2007 10:09 PM, Edvin Syse <[EMAIL PROTECTED]> wrote:

> Al Maw wrote:
> >> I really want to avoid this, as it seems messy having to add all
> >> components to the body markupcontainer. I can't believe this is the
> >> Wicket way to solve this problem :)
> >
> > See MarkupContainer#isTransparentResolver().
>
> Sweet! Thank you, that made by day :) It seems Wicket has smooth solutions
> to almost any problem :)
>
> By the way, it seems that the javadoc references a component that doesn't
> exist (BodyOnLoadContainer):
>
> * Some MarkupContainers (e.g. HtmlHeaderContainer, BodyOnLoadContainer)
> have to be transparent
> * with respect to there child components. A transparent container gets its
> children from its
> * parent container.
>
> -- Edvin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to