On Mon, Dec 12, 2011 at 12:26 PM, Anthon van der Neut <[email protected]> wrote:
> I tried all three buttons on the login popup as I have accounts with all
> three providers, yahoo gives an error immediately, google gives an empty
> iframe ( head empty, body empty, when I look at it with firebug). The openID
> login accepts my name but comes back with OpenID failed: The OpenID was
> invalid, but I am logged in to openid.org with that name.

 yep don't worry about it - there's been "security" measures added by
google, yahoo etc. which break the code being used.


> I am not sure if the openWindowClosed event should be triggered, since I do
> not close anywindows. I just replace a div (which includes the element with
> the ID I later replace from the python main() function.

 ok then you want RootPanel.get(id_to_use) - see dynamictable as an example.


> I must confess I just tried the example to work, I am not sure if there were
> any side-effects. I now do:
>     e = DOM.getElementById(id_to_replace)
>     if e:
>         p = AbsolutePanel(Element=e)
>         p.onAttach()
>         p.add(b)
> And that works fine. Thanx

 that _will_ cause problems (memory leaks).  you've just
half-implemented RootPanel.get(with_an_id_to_use) and the other
missing half will result in memory leaks.

 l.

Reply via email to