The purpose of creating sustained messages is to provide totally loosely coupled architecture. In the case of sustained messages the UI components can be loaded asynchronously in any arbitrary order. As soon as a component that subscribes to a subject is loaded (first after a sustained message with the same subject is published) the event dispatcher will publish again the same message to the subscriber. Consider that this is a 1 to 1 publishing so that an already existing subscriber dose not receives same message multiple times. However, this pub sub mechanism differs from GI pub sub only in the persisting the messages. It is the responsibility of developer to unsubscribe an object or function from an event published by this object if it is not needed any more. Subscribing an object or function to a type of event multiple times causes that the function is executes multiple times if a message is published.




呵呵,最近比较忙,不好意思。
另外,对于你对日志标题上的日历的修改,
LBS博客论坛上也有人十分感兴趣想知道,
不知道你是不是有空来一下博客把问题回答一下!
帖子地址:http://www.lbsky.cn/forum/thread-1149-1-1.html
老大,你的 WAP博客群 都有N久没有更新了!!