On 8/16/07, Rüdiger Schulz <[EMAIL PROTECTED]> wrote:
>
> Hm, that's not really possible for me here (as stated in the linked post).
>
> That particular page already has a base page, so I could put this markup
> only into the wicket:extend block.
> Also, the markup is some dynamically generated JavaScript, which needs to
> be
> right after <body>.
>
> I think it would work to put a Container in my base page, and link it to
> the
> <body wicket:id="containerId">. But then I would have to add all children
> not to the page, but this container, which would require a lot of other
> changes I guess.


simply make the container transparent, override isTransparentResolver() {
return true; } and you should be ok.

also is there any reason why you are adding javascript right after <body>
and not using iheadercontributor/renderOnLoadJavascript()? or
renderOnDomReadyJavascript()?

-igor




So, maybe any other ideas?
>
> greetings,
>
> .rue
>
> 2007/8/16, Igor Vaynberg <[EMAIL PROTECTED]>:
> >
> > put that custom markup into a base page.
> >
> > -igor
> >
> >
> > On 8/16/07, Rüdiger Schulz <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello,
> > >
> > > I'm developing an application using 1.3.0_snapshot. Some days ago,
> > > HtmlBodyContainer was removed. I was using this to put custom markup
> > after
> > > <body> and before </body> (see also here
> > > http://www.nabble.com/BodyContributor--tf2578291.html).
> > >
> > > How can I accomplish this now? I looked at the changes to WebPage in
> > that
> > > revision, but still couldn't find out what to do.
> > >
> > > Thanks alot!
> > >
> > > --
> > > greetings from Berlin,
> > >
> > > Rüdiger Schulz
> > >
> > > www.2rue.de
> > >
> >
>
>
>
> --
> greetings from Berlin,
>
> Rüdiger Schulz
>
> www.2rue.de
>

Reply via email to