Hey all, I've got some code which moves some elements from one to another position: >CustomPicker picker = new CustomPicker(textBox); //FlowPanel with custom >elements inside... >Element inputElement = textBox.getElement(); >Element parentElement = inputElement.getParentElement(); >parentElement.insertAfter(picker.getElement(), inputElement); >picker.pickerWrapper.getElement().insertFirst(inputElement);
This code works fine together with the DOM, but my picker contains an HTMLPanel which has an ClickHandler. If I attach the picker to the DOM using RootPanel.get().add(picker); the ClickHandler seems to works fine. If I use the way described above the handler doesn't seemss to work anymore :( Any ideas/hints? Thanks in advance! cheers -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
