Managed the different display types with dynamic <ui:include> instead of
template composition