Advanced Features > Using DHTML-Based JSF Components to Build Web Applications > The JViews Framework Faces Component Set > Adding a Message Box

To connect a message box to a view, use the following code:

 <jvf:view [...]  messageBoxId="messageBox"/>
 <jv:messageBox id="messageBox" [...]  />

The messages issued are now displayed in the message box.