SmartGWT 2.4
We create several SmartClient GUI objects programmatically and are finding that the second (or succeeding) time around creating the object, we're finding the first one is the one actually being added to its container. Would anyone know or care to guess what would be causing this?
My guess is that HTML elements are being created with the same ID and the previous one isn't being removed from the DOM. Do we have to explicitly destroy or dereference unused SmartGWT elements? (I remember that GWT handlers need to be dereferenced explicityl.) If so, could somebody point me to documentation on the recommended approach to doing this?
Of course, if I'm barking up the wrong tree, I'd love to hear your input.
We create several SmartClient GUI objects programmatically and are finding that the second (or succeeding) time around creating the object, we're finding the first one is the one actually being added to its container. Would anyone know or care to guess what would be causing this?
My guess is that HTML elements are being created with the same ID and the previous one isn't being removed from the DOM. Do we have to explicitly destroy or dereference unused SmartGWT elements? (I remember that GWT handlers need to be dereferenced explicityl.) If so, could somebody point me to documentation on the recommended approach to doing this?
Of course, if I'm barking up the wrong tree, I'd love to hear your input.
Comment