<from-outcome>admin_show_contact</from-outcome>
<to-view-id>/admin/contact/admin_contact_show.xhtml</to-view-id>
</navigation-case>
+ <navigation-case>
+ <from-outcome>admin_show_mobile_provider</from-outcome>
+ <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
+ </navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/admin/contact/admin_contact_list.xhtml</from-view-id>
<ui:define name="content">
<h:outputText styleClass="errors" value="#{msg.ERROR_CONTACT_ID_NOT_FOUND}" rendered="#{empty beanHelper.contact}" />
- <ui:include src="/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl" />
+ <ui:fragment rendered="#{not empty beanHelper.contact}">
+ <ui:include src="/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl" />
- <div class="para">
- <ui:include src="/WEB-INF/templates/admin/contact/admin_contact_links.tpl" />
- </div>
+ <div class="para">
+ <ui:include src="/WEB-INF/templates/admin/contact/admin_contact_links.tpl" />
+ </div>
- <div class="para">
- <ui:include src="/WEB-INF/templates/admin/landline/admin_landline_add_show.tpl" />
- </div>
+ <div class="para">
+ <ui:include src="/WEB-INF/templates/admin/landline/admin_landline_add_show.tpl" />
+ </div>
- <div class="para">
- <ui:include src="/WEB-INF/templates/admin/mobile/admin_mobile_add_show.tpl" />
- </div>
+ <div class="para">
+ <ui:include src="/WEB-INF/templates/admin/mobile/admin_mobile_add_show.tpl" />
+ </div>
- <div class="para">
- <ui:include src="/WEB-INF/templates/admin/fax/admin_fax_add_show.tpl" />
- </div>
+ <div class="para">
+ <ui:include src="/WEB-INF/templates/admin/fax/admin_fax_add_show.tpl" />
+ </div>
+ </ui:fragment>
</ui:define>
</ui:composition>
</html>