I have been making an application which calls data from a database using php. I have a custom component which works fine on its own and contains two CallResponders.
However, if I use the component more than once in the application, only one instance of the component will work and the rest will not.
I have tried creating two very similar components but just changing the id of the CallResponders and it has the same result as when I use the two identical ones.
Does any one know why this might be?
It is not the best practice to keep your service in the view. Usually it should
stay inside a command or a delegate class. Move it there and you can easily
trigger it from 2 views event if they are the 2 instances of the same component.