I wish to have a Master-Page, and switch content in this. I currently have it working by having the content pane of my masterpage defined by <ui:include src="#{navigation.currentPane}" />
The navigation bean holds the current navigation path for the content facelet. The content is updated with ajax.
Is this the correct way? Does it have any downsides?