A good example is {@link org.araneaframework.framework.filter.StandardMessagingFilterWidget}. It registers a MessageContext in the environment and if a childservice needs to output a message which should have a consistent look (location on the screen, styles etc.) it adds the message via showMessage(String,String)
.
A top level widget can use the MessageContext from the environment to output the accumulated messages.
@author "Toomas Römer"
|
|
|
|