He Miroslav,
Thanks for the tip:
listeners to a container class that also implements the listener. Then
I considered it as well, it's kind of categorizing the listeners, but
doesn't work in my case.
Le me explain: the screen consists of all kind o wizard kind of
screens that the user can
Hi Hiho,
Thanks for your reaction.
I don't want to sound (too) arrogant, but your solution is way to
simple in my case (I wish I could use it).
Because of the complex requirements I have to meet, I have several
layers on top of basic widgets. That is: on the level I want to do
some cleanup,
The solution that I suggest above, seem to work fine.
BTW: I also had another look at the solution suggested by MiroSlav,
but that is a technical soution that isn't correct in my case. His
solution was to remove the global model listeners when the widget got
detached. However, I can easily
Another option to assist with mass one step removal is to add said
listeners to a container class that also implements the listener. Then
add the listener to the widget. To remove all listeners in one
operation simply remove the container. This and similar types of
organisation do not
Hiho
The best thing to do is you implement the very feature yourself by
wrapping the widgets you wish to target inside a composite and
override the ondetach() etc.
There are many simple similar strategies you could use to auto cleanup
listeners belonging to unneeded widgets.
Hth
On
On Thu, Mar 26, 2009 at 6:28 AM, Ed post2edb...@hotmail.com wrote:
I am struggeling a bit with the issue I posted here:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/0c7013c88ff9f20b
I would like to know if it would be possible to solve this with GWT
before posting
He John,
Thanks for your answer.
Not very unexpected, but I was hoping I missed something.
This means that I have to do some more work when removing objects.
My situation:
I have pages that make up a wizard-like application (part of the
application).
The pages contain form field where the