On 07/11/2007, Martin Funk <[EMAIL PROTECTED]> wrote:
>
> >
> sorry I was just to tired yesterday look into that any deeper.
No problem, of course! :-)
I just committed a patch. Could you check if it suits your needs?
The patch adds checks for "isAttached()" in some operations, but not all.
So I was still getting some similar errors, for example in GMap2.addControl
().
I've worked around this so far by applying a patch in GMap2, adding the
middle line:
map = new WebMarkupContainer("map");
map.setMarkupId("gmapInternalMarkupId"); // Work around problem of
non-attached component
map.setOutputMarkupId(true);
While this is a bit of a hack, could the problem be better fixed in a
similar way? That would avoid having to remember to do the check for every
operation in GMap2.
Also could you check if the codechange in the ManyPanel is asking for
> the same as your code?
Looks like it yes, but as discussed above, it only calls setZoom() and not
all the other operations that may be called on the component before it's
added into the page hierarchy.
Regards,
Jan