2007/8/16, Igor Vaynberg <[EMAIL PROTECTED]>:
>
> On 8/16/07, Rüdiger Schulz <[EMAIL PROTECTED]> wrote:
> > 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.


ok, thanks a lot, I will try this. Never heard of transparentResolver
before, good to learn something new!

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


Well, I'm using a drag and drop JavaScript library on that particular page,
and it requires to do it like this:
http://www.walterzorn.com/dragdrop/dragdrop_e.htm#config

I think this is because the script creates dynamic markup at the position
where it is inserted. I once tried to put the scripts at other locations
within the page, but that just didn't work.

-- 
greetings from Berlin,

Rüdiger Schulz

www.2rue.de

Reply via email to