Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

component events bubbling down?

$
0
0
I have a situation where a child component (C) fires an event that causes the containing component(B) to refesh it's content. Another component (A) that contains B also contains compoenent D. D needs also to fire an event that causes B to refesh it's content. The event needs to go down the component hierarchy.

I've tried to inject component B into A and directky invoke the event handler, but it throws exceptions. Is there a proper way to handle this, like pushing the event downwards?

John

This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

Viewing all articles
Browse latest Browse all 5648

Trending Articles