I end up with *"A widget that has an existing parent widget may not be
added to the detach list"* when I try to create a Label within a form after
the following GQuery call has been made:
*$("#loginForm").submit(new Function()* ...
(adding event listener on loginForm element)
If I'm not mistaken GWT decides whether element is part of widget based on
whether it has any event listeners attached to it, I am judging by
user.src.com.google.gwt.user.client.ui.RootPanel.isElementChildOfWidget(Element)
Seems like that is causing the above described.
Cheers
Jaroslav
(Posting this also to GQuery group.)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/U_RN0Ni-QCcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.