You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by André Faria <an...@mandic.com.br> on 2007/01/13 14:28:40 UTC

NotifyTopics

What is the advantage to use NotifyTopics instead of Directly Calls for 
JavaScript functions?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: NotifyTopics

Posted by Musachy Barroso <mb...@wfscorp.com>.
Decoupling. The listeners do not need to know who is the source of the 
event, nor they have to attach themselves to any specific element. If in 
the future the publisher (source of the event) changes, or there is  
more than  one publisher, you don't need to change any code.

regards
musachy

André Faria wrote:
> What is the advantage to use NotifyTopics instead of Directly Calls 
> for JavaScript functions?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org