</ui:define>
<ui:define name="content">
- <ui:fragment rendered="#{shareController.isShareeUserIdSet()}">
+ <h:outputText rendered="#{shareController.isShareeUserIdSet()}">
Here goes your content.
- </ui:fragment>
+ </h:outputText>
- <ui:fragment rendered="#{shareController.isShareeUserIdEmpty()}">
+ <h:outputText rendered="#{shareController.isShareeUserIdEmpty()}">
<ui:include src="/WEB-INF/templates/generic/userid_error.tpl" />
- </ui:fragment>
+ </h:outputText>
</ui:define>
</ui:composition>
</html>
</div>
<div class="table_footer">
- <ui:fragment rendered="#{addressbookController.isOwnAddressbook()}">
+ <h:outputText rendered="#{addressbookController.isOwnAddressbook()}">
<h:link id="startSharing" outcome="login_start_sharing_addressbook" value="#{msg.LINK_LOGIN_START_SHARING_ADDRESSBOOK}" title="#{msg.LINK_LOGIN_START_SHARING_ADDRESSBOOK_TITLE}" />
- </ui:fragment>
- <ui:fragment rendered="#{addressbookController.isOtherAddressbook()}">
+ </h:outputText>
+ <h:outputText rendered="#{addressbookController.isOtherAddressbook()}">
Bla bla
- </ui:fragment>
+ </h:outputText>
</div>
</div>
</ui:define>
xmlns:f="http://xmlns.jcp.org/jsf/core"
>
- <ui:composition template="/WEB-INF/templates/login/login_base.tpl">
+ <ui:composition template="/WEB-INF/templates/#{loginController.templateType}/#{loginController.templateType}_base.tpl">
<ui:define name="login_title">#{msg.PAGE_TITLE_USER_LIST}</ui:define>
<ui:define name="content_header">
</h:outputFormat>
</h:column>
- <h:column>
- <f:facet name="header">#{msg.USER_LIST_SHARING_ADDRESSBOOKS}</f:facet>
- <h:link outcome="login_list_sharing_addressbooks" value="#{msg.LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS}" title="#{msg.LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS_TITLE}">
- <f:param name="userId" value="#{user.userId}" />
- </h:link>
- </h:column>
+ <h:outputText rendered="#{loginController.userLoggedIn}">
+ <h:column>
+ <f:facet name="header">#{msg.USER_LIST_SHARING_ADDRESSBOOKS}</f:facet>
+ <h:link outcome="login_list_sharing_addressbooks" value="#{msg.LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS}" title="#{msg.LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS_TITLE}">
+ <f:param name="userId" value="#{user.userId}" />
+ </h:link>
+ </h:column>
+ </h:outputText>
</h:dataTable>
</div>
</ui:define>
</ui:define>
<ui:define name="content">
- <ui:fragment rendered="#{shareController.isShareeUserIdSet()}">
+ <h:outputText rendered="#{shareController.isShareeUserIdSet()}">
Here goes your content.
- </ui:fragment>
+ </h:outputText>
- <ui:fragment rendered="#{shareController.isShareeUserIdEmpty()}">
+ <h:outputText rendered="#{shareController.isShareeUserIdEmpty()}">
<ui:include src="/WEB-INF/templates/generic/userid_error.tpl" />
- </ui:fragment>
+ </h:outputText>
</ui:define>
</ui:composition>
</html>