In my customer component, I will call server-side method with RemoteObject. Of course, I added event listener to process result. It works when I pops up the customer component for the first time. If I pops this component again, it seems result returned also from server. However, all result disappears once it exits from event listener method.
It took me a lot of time to find out where the problem is. If I remove event listener before closing this component, it works for the next time.
Is there any explanation for this issue? When must I remove event listener?
Best regards and wishes
I don't think I can give an explaination without seeing your code.
Best practice would say to remove an event listener when you don't need it anymore.
Thanks for your reply.
I don't want to seek for an explanation for wrong implementation. And it's not easy to replay this issue because you have to set up blazeDS service.