
If you use reusable components, make sure that your components contain simple elements that really can be reused.
With components that you want to use in several applications you should never use the MessageArea UI element, since each window is allowed to contain only one visible MessageArea at the most.
Example of a component that can be both stand-alone and reusable:
You create two views. The first view contains only elements that are not going to be reused, for example, UI elements: Header, MessageArea, and ViewContainer. Your second view contains only the core application that can be embedded and reused. In your component you create two windows. The first is the default window for the application that runs stand-alone.
Here you embed your first view. The second view you put in the ViewContainer. The second window, which is the interface view, is then used to simply to embed the second view.