</f:metadata>
<ui:composition template="/WEB-INF/templates/#{userLoginController.templateType}/#{userLoginController.templateType}_base.tpl">
- <ui:define name="login_title">#{msg.PAGE_TITLE_USER_SHOW_ADDRESSBOOK}</ui:define>
- <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_SHOW_ADDRESSBOOK}</ui:define>
+ <ui:define name="login_title">
+ <h:outputText value="#{msg.PAGE_TITLE_USER_SHOW_ADDRESSBOOK}" />
+ </ui:define>
+
+ <ui:define name="guest_title">
+ <h:outputText value="#{msg.PAGE_TITLE_INDEX_SHOW_ADDRESSBOOK}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_USER_SHOW_ADDRESSBOOK}
+ <h:outputText value="#{msg.CONTENT_TITLE_USER_SHOW_ADDRESSBOOK}" />
</ui:define>
<ui:define name="content">
<h:panelGrid headerClass="table_header" styleClass="table" columns="2" rendered="#{addressbookController.loadAddressbook()}">
- <f:facet name="header">#{msg.TABLE_HEADER_SHOW_ADDRESSBOOK}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.TABLE_HEADER_SHOW_ADDRESSBOOK}" />
+ </f:facet>
<h:outputLabel for="addressbookName" styleClass="table_label">#{msg.ADDRESSBOOK_NAME}</h:outputLabel>
<h:outputText id="addressbookName" value="#{addressbookController.addressbookName}" />
>
<ui:composition template="/WEB-INF/templates/login/user/user_base.tpl">
- <ui:define name="login_title">#{msg.PAGE_TITLE_USER_SHOW_ADDRESSBOOK_ENTRIES}</ui:define>
+ <ui:define name="login_title">
+ <h:outputText value="#{msg.PAGE_TITLE_USER_SHOW_ADDRESSBOOK_ENTRIES}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_USER_SHOW_ADDRESSBOOK_ENTRIES}
+ <h:outputText value="#{msg.CONTENT_TITLE_USER_SHOW_ADDRESSBOOK_ENTRIES}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/login/user/user_base.tpl">
- <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_ADD_ADDRESSBOOK}</ui:define>
+ <ui:define name="login_title">
+ <h:outputText value="#{msg.PAGE_TITLE_LOGIN_ADD_ADDRESSBOOK}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_LOGIN_ADD_ADDRESSBOOK}
+ <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_ADD_ADDRESSBOOK}" />
</ui:define>
<ui:define name="content">
<h:form id="add_addressbook" acceptcharset="utf-8">
<div class="table">
<div class="table_header">
- #{msg.FORM_LOGIN_ADD_ADDRESSBOOK_TITLE}
+ <h:outputText value="#{msg.FORM_LOGIN_ADD_ADDRESSBOOK_TITLE}" />
</div>
<div class="table_row">
</f:metadata>
<ui:composition template="/WEB-INF/templates/login/login_base.tpl">
- <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS}</ui:define>
+ <ui:define name="login_title">
+ <h:outputText value="#{msg.PAGE_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS}
+ <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/login/login_base.tpl">
- <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_OTHER_ADDRESSBOOKS}</ui:define>
+ <ui:define name="login_title">
+ <h:outputText value="#{msg.PAGE_TITLE_LOGIN_OTHER_ADDRESSBOOKS}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_LOGIN_OTHER_ADDRESSBOOKS}
+ <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_OTHER_ADDRESSBOOKS}" />
</ui:define>
<ui:define name="content">
>
<ui:composition template="/WEB-INF/templates/login/user/user_base.tpl">
- <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_OWN_ADDRESSBOOKS}</ui:define>
+ <ui:define name="login_title">
+ <h:outputText value="#{msg.PAGE_TITLE_LOGIN_OWN_ADDRESSBOOKS}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_LOGIN_OWN_ADDRESSBOOKS}
+ <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_OWN_ADDRESSBOOKS}" />
</ui:define>
<ui:define name="content">
<ui:fragment rendered="#{loginController.isUserLoggedIn()}">
<div class="table">
<div class="table_header">
- #{msg.TABLE_HEADER_LIST_OWN_ADDRESSBOOKS}
+ <h:outputText value="#{msg.TABLE_HEADER_LIST_OWN_ADDRESSBOOKS}" />
</div>
<div class="para">
<h:dataTable id="table_own_addressbooks" var="addressbook" value="#{addressbookController.allAddressbooks()}" styleClass="table" headerClass="table_data_column" summary="#{msg.TABLE_SUMMARY_LOGIN_LIST_OWN_ADDRESSBOOKS}" rendered="#{addressbookController.hasCreatedAddressbooks()}">
<h:column>
- <f:facet name="header">#{msg.ADDRESSBOOK_NAME}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADDRESSBOOK_NAME}" />
+ </f:facet>
<h:link outcome="user_show_addressbook" title="#{msg.LINK_SHOW_ADDRESSBOOK_TITLE}">
<f:param name="addressbookId" value="#{addressbook.addressbookId}" />
</h:column>
<h:column>
- <f:facet name="header">#{msg.ADDRESSBOOK_TOTAL_ENTRIES}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADDRESSBOOK_TOTAL_ENTRIES}" />
+ </f:facet>
<h:link outcome="show_addressbook_entries" title="#{msg.LINK_SHOW_ADDRESSBOOK_ENTRIES_TITLE}">
<f:param name="addressbookId" value="#{addressbook.addressbookId}" />
</h:column>
<h:column>
- <f:facet name="header">#{msg.ADDRESSBOOK_CREATED}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADDRESSBOOK_CREATED}" />
+ </f:facet>
<h:outputFormat id="addressbookCreated" value="#{addressbook.addressbookCreated.time}" title="#{msg.ADDRESSBOOK_CREATED_TITLE}">
<f:convertDateTime for="addressbookCreated" type="both" timeStyle="short" dateStyle="medium" />
xmlns:f="http://xmlns.jcp.org/jsf/core">
<ui:composition template="/WEB-INF/templates/login/login_base.tpl">
- <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_SHARED_ADDRESSBOOKS}</ui:define>
+ <ui:define name="login_title">
+ <h:outputText value="#{msg.PAGE_TITLE_LOGIN_SHARED_ADDRESSBOOKS}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_LOGIN_SHARED_ADDRESSBOOKS}
+ <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_SHARED_ADDRESSBOOKS}" />
</ui:define>
<ui:define name="content">
<ui:fragment rendered="#{loginController.isUserLoggedIn()}">
<div class="table">
<div class="table_header">
- #{msg.LOGIN_TABLE_HEADER_SHARED_ADDRESSBOOKS}
+ <h:outputText value="#{msg.LOGIN_TABLE_HEADER_SHARED_ADDRESSBOOKS}" />
</div>
<div class="para">
<h:dataTable id="sharedAddressbooks" var="share" value="#{shareController.allShares()}" headerClass="table_data_column" summary="#{msg.TABLE_SUMMARY_LOGIN_SHARED_ADDRESSBOOKS}" rendered="#{shareController.isSharingAddressbooks()}">
<h:column>
- <f:facet name="header">#{msg.SHARED_ADDRESSBOOK}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.SHARED_ADDRESSBOOK}" />
+ </f:facet>
<h:link outcome="user_show_addressbook" title="#{msg.LINK_SHOW_ADDRESSBOOK_TITLE}">
<f:param name="addressbookId" value="#{share.shareAddressbook.addressbookId}" />
</h:column>
<h:column>
- <f:facet name="header">#{msg.SHAREE_USER_NAME}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.SHAREE_USER_NAME}" />
+ </f:facet>
+
<ui:include src="/WEB-INF/templates/generic/user_profile_link.tpl">
<ui:param name="user" value="#{share.setShareUserSharee(shareUserSharer)}" />
</ui:include>
</h:column>
<h:column>
- <f:facet name="header">#{msg.SHARE_CREATED}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.SHARE_CREATED}" />
+ </f:facet>
+
<h:outputText id="shareCreated" value="#{share.shareCreated.time}" title="#{msg.SHARE_CREATED_TITLE}">
<f:convertDateTime for="shareCreated" type="both" timeStyle="short" dateStyle="medium" />
</h:outputText>
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<ui:composition template="/WEB-INF/templates/#{loginController.templateType}/#{loginController.templateType}_base.tpl">
- <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_START_SHARING_ADDRESSBOOK}</ui:define>
+ <ui:define name="login_title">
+ <h:outputText value="#{msg.PAGE_TITLE_LOGIN_START_SHARING_ADDRESSBOOK}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_LOGIN_START_SHARING_ADDRESSBOOK}
+ <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_START_SHARING_ADDRESSBOOK}" />
</ui:define>
<ui:define name="content">
<div class="table_big">
<div class="table_header">
- #{msg.TABLE_HEADER_CHOOSE_USER_FOR_SHARING}
+ <h:outputText value="#{msg.TABLE_HEADER_CHOOSE_USER_FOR_SHARING}" />
</div>
<div class="para">
<h:dataTable id="userList" headerClass="table_header_column" var="user" value="#{addressbookController.allUsersNotSharing()}" rendered="#{loginController.isUserLoggedIn() and not empty addressbookController.addressbook and not loginController.isInvisible()}">
<h:column>
- <f:facet name="header">#{msg.USER_ID}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.USER_ID}" />
+ </f:facet>
+
<h:outputText value="#{user.userId}" />
</h:column>
<h:column>
- <f:facet name="header">#{msg.USER_NAME}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.USER_NAME}" />
+ </f:facet>
+
<ui:include src="/WEB-INF/templates/generic/user_profile_link.tpl">
<ui:param name="user" value="#{user}" />
</ui:include>
</h:column>
<h:column>
- <f:facet name="header">#{msg.LOGIN_START_SHARING_TITLE}</f:facet>
+ <f:facet name="header">
+ <h:outputText value="#{msg.LOGIN_START_SHARING_TITLE}" />
+ </f:facet>
+
<h:form acceptcharset="utf-8" id="startSharing" rendered="#{profileController.isProfileLinkVisibleByUser(user)}">
<h:commandButton class="submit" id="submit" value="#{msg.LOGIN_START_SHARING_BUTTON}" action="#{shareController.startSharing(user, addressbookController.addressbook)}" title="#{msg.LOGIN_START_SHARING_BUTTON_TITLE}" />
</h:form>
<div class="table_footer">
<ul>
- <li>#{msg.LOGIN_START_SHARING_NOTICE1}</li>
- <li>#{msg.LOGIN_START_SHARING_NOTICE2}</li>
+ <li><h:outputText value="#{msg.LOGIN_START_SHARING_NOTICE1}" /></li>
+ <li><h:outputText value="#{msg.LOGIN_START_SHARING_NOTICE2}" /></li>
</ul>
</div>
</div>