]> git.mxchange.org Git - addressbook-war.git/commitdiff
Continued a bit:
authorRoland Häder <roland@mxchange.org>
Wed, 1 Jun 2016 08:38:54 +0000 (10:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 1 Jun 2016 18:55:19 +0000 (20:55 +0200)
- added resend_done.xhtml with using message_box.tpl
- added navigation rule for above
- used more h:outputText (remember that this is a WUI)
- removed old-lost index.xhtml (user login area)
- added i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
nbproject/faces-config.NavData
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/WEB-INF/faces-config.xml
web/guest/user/register_done.xhtml
web/guest/user/resend_done.xhtml [new file with mode: 0644]
web/user/login_edit_user_data.xhtml

index c81a6cbbff1ce3750e8c0688e92c5bae9e3e6014..4efcbdfbcae8b247765c6ea5d85fb458e64beeb8 100644 (file)
@@ -2,71 +2,72 @@
 <Scene Scope="Project" version="2">
     <Scope Scope="Faces Configuration Only"/>
     <Scope Scope="Project">
-        <Node id="admin/cellphone/admin_contact_cellphone_list.xhtml" x="1150" y="300" zoom="true"/>
-        <Node id="admin/contact/admin_contact_show.xhtml" x="1650" y="300" zoom="true"/>
-        <Node id="privacy.xhtml" x="1900" y="600" zoom="true"/>
-        <Node id="guest/user/show_addressbook.xhtml" x="900" y="600" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_show.xhtml" x="900" y="1050" zoom="true"/>
-        <Node id="admin/user/admin_user_show.xhtml" x="1400" y="150" zoom="true"/>
-        <Node id="admin/index.xhtml" x="150" y="300" zoom="true"/>
-        <Node id="user/login_own_addressbooks.xhtml" x="400" y="750" zoom="true"/>
-        <Node id="user/login_user_data_saved.xhtml" x="150" y="1500" zoom="true"/>
-        <Node id="user/index.xhtml" x="900" y="1200" zoom="true"/>
-        <Node id="admin/admin_logout.xhtml" x="2150" y="450" zoom="true"/>
-        <Node id="user/login_data_saved.xhtml" x="400" y="1500" zoom="true"/>
-        <Node id="admin/user/admin_user_unlock.xhtml" x="1150" y="450" zoom="true"/>
-        <Node id="user/login_other_addressbooks.xhtml" x="900" y="750" zoom="true"/>
-        <Node id="user/login_start_sharing_addressbook.xhtml" x="650" y="1200" zoom="true"/>
-        <Node id="guest/user/user_list.xhtml" x="150" y="750" zoom="true"/>
-        <Node id="index.xhtml" x="400" y="1350" zoom="true"/>
-        <Node id="user/login_edit_user_data.xhtml" x="1150" y="150" zoom="true"/>
-        <Node id="admin/admin_category_delete.xhtml" x="900" y="450" zoom="true"/>
-        <Node id="*" x="1400" y="750" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_edit.xhtml" x="150" y="900" zoom="true"/>
-        <Node id="user/login_index.xhtml" x="150" y="1200" zoom="true"/>
-        <Node id="guest/user/lost_passwd.xhtml" x="150" y="1050" zoom="true"/>
-        <Node id="guest/user/register_done.xhtml" x="650" y="1050" zoom="true"/>
-        <Node id="guest/user/show_addressbook_entries.xhtml" x="150" y="150" zoom="true"/>
-        <Node id="user/login.xhtml" x="400" y="450" zoom="true"/>
-        <Node id="admin/country/admin_country_list.xhtml" x="2400" y="150" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_unlink.xhtml" x="1650" y="600" zoom="true"/>
-        <Node id="login/login_edit_user_data.xhtml" x="1150" y="1050" zoom="true"/>
-        <Node id="guest/user/login_error.xhtml" x="400" y="1050" zoom="true"/>
-        <Node id="admin/user/admin_user_export.xhtml" x="1650" y="450" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_delete.xhtml" x="900" y="900" zoom="true"/>
-        <Node id="user/login_change_password.xhtml" x="400" y="900" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_list.xhtml" x="650" y="300" zoom="true"/>
-        <Node id="admin/contact/admin_contact_export.xhtml" x="1400" y="450" zoom="true"/>
-        <Node id="guest/user/user_profile.xhtml" x="650" y="600" zoom="true"/>
-        <Node id="guest/user/confirm_account.xhtml" x="1150" y="750" zoom="true"/>
-        <Node id="exception.xhtml" x="1900" y="300" zoom="true"/>
-        <Node id="user/login_list_sharing_addressbooks.xhtml" x="1150" y="900" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_delete.xhtml" x="2650" y="150" zoom="true"/>
-        <Node id="admin/user/admin_user_delete.xhtml" x="1400" y="900" zoom="true"/>
-        <Node id="login/login_index.xhtml" x="1650" y="150" zoom="true"/>
-        <Node id="guest/user/register_page2.xhtml" x="400" y="1200" zoom="true"/>
-        <Node id="admin/user/admin_user_edit.xhtml" x="2150" y="300" zoom="true"/>
-        <Node id="terms.xhtml" x="650" y="900" zoom="true"/>
-        <Node id="admin/contact/admin_contact_list.xhtml" x="400" y="300" zoom="true"/>
-        <Node id="admin/contact/admin_contact_edit.xhtml" x="650" y="450" zoom="true"/>
-        <Node id="admin/user/admin_user_list.xhtml" x="2400" y="300" zoom="true"/>
-        <Node id="admin/country/admin_country_delete.xhtml" x="1400" y="600" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_list.xhtml" x="1400" y="450" zoom="true"/>
+        <Node id="admin/contact/admin_contact_show.xhtml" x="1150" y="300" zoom="true"/>
+        <Node id="privacy.xhtml" x="1650" y="750" zoom="true"/>
+        <Node id="guest/user/show_addressbook.xhtml" x="150" y="1200" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_show.xhtml" x="1650" y="600" zoom="true"/>
+        <Node id="admin/user/admin_user_show.xhtml" x="150" y="600" zoom="true"/>
+        <Node id="admin/index.xhtml" x="1150" y="450" zoom="true"/>
+        <Node id="user/login_own_addressbooks.xhtml" x="650" y="1050" zoom="true"/>
+        <Node id="user/login_user_data_saved.xhtml" x="900" y="150" zoom="true"/>
+        <Node id="user/index.xhtml" x="150" y="900" zoom="true"/>
+        <Node id="admin/admin_logout.xhtml" x="1150" y="1050" zoom="true"/>
+        <Node id="user/login_data_saved.xhtml" x="1150" y="750" zoom="true"/>
+        <Node id="admin/user/admin_user_unlock.xhtml" x="400" y="900" zoom="true"/>
+        <Node id="user/login_other_addressbooks.xhtml" x="150" y="1350" zoom="true"/>
+        <Node id="user/login_start_sharing_addressbook.xhtml" x="2400" y="300" zoom="true"/>
+        <Node id="index.xhtml" x="400" y="300" zoom="true"/>
+        <Node id="guest/user/user_list.xhtml" x="1400" y="600" zoom="true"/>
+        <Node id="user/login_edit_user_data.xhtml" x="900" y="900" zoom="true"/>
+        <Node id="*" x="150" y="300" zoom="true"/>
+        <Node id="admin/admin_category_delete.xhtml" x="2150" y="450" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_edit.xhtml" x="400" y="450" zoom="true"/>
+        <Node id="user/login_index.xhtml" x="1650" y="150" zoom="true"/>
+        <Node id="guest/user/lost_passwd.xhtml" x="400" y="600" zoom="true"/>
+        <Node id="guest/user/register_done.xhtml" x="150" y="750" zoom="true"/>
+        <Node id="guest/user/show_addressbook_entries.xhtml" x="1150" y="150" zoom="true"/>
+        <Node id="user/login.xhtml" x="650" y="1200" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_unlink.xhtml" x="1150" y="600" zoom="true"/>
+        <Node id="login/login_edit_user_data.xhtml" x="1900" y="300" zoom="true"/>
+        <Node id="admin/country/admin_country_list.xhtml" x="400" y="1500" zoom="true"/>
+        <Node id="guest/user/login_error.xhtml" x="400" y="1200" zoom="true"/>
+        <Node id="admin/user/admin_user_export.xhtml" x="1150" y="900" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_delete.xhtml" x="1900" y="150" zoom="true"/>
+        <Node id="guest/user/resend_done.xhtml" x="2150" y="150" zoom="true"/>
+        <Node id="user/login_change_password.xhtml" x="150" y="1650" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_list.xhtml" x="150" y="150" zoom="true"/>
+        <Node id="admin/contact/admin_contact_export.xhtml" x="650" y="150" zoom="true"/>
+        <Node id="guest/user/user_profile.xhtml" x="400" y="750" zoom="true"/>
+        <Node id="guest/user/confirm_account.xhtml" x="650" y="1350" zoom="true"/>
+        <Node id="admin/user/admin_user_delete.xhtml" x="900" y="750" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_delete.xhtml" x="2150" y="300" zoom="true"/>
+        <Node id="user/login_list_sharing_addressbooks.xhtml" x="1400" y="750" zoom="true"/>
+        <Node id="exception.xhtml" x="900" y="1050" zoom="true"/>
+        <Node id="login/login_index.xhtml" x="400" y="1050" zoom="true"/>
+        <Node id="guest/user/register_page2.xhtml" x="650" y="600" zoom="true"/>
+        <Node id="admin/user/admin_user_edit.xhtml" x="1900" y="600" zoom="true"/>
+        <Node id="terms.xhtml" x="900" y="600" zoom="true"/>
+        <Node id="admin/contact/admin_contact_list.xhtml" x="150" y="450" zoom="true"/>
+        <Node id="admin/contact/admin_contact_edit.xhtml" x="150" y="1500" zoom="true"/>
+        <Node id="admin/user/admin_user_list.xhtml" x="1400" y="300" zoom="true"/>
+        <Node id="admin/country/admin_country_delete.xhtml" x="400" y="150" zoom="true"/>
         <Node id="user/login_change_personal_data.xhtml" x="1900" y="450" zoom="true"/>
-        <Node id="logout.xhtml" x="150" y="600" zoom="true"/>
-        <Node id="admin/country/admin_country_edit.xhtml" x="1150" y="600" zoom="true"/>
-        <Node id="guest/user/resend_link.xhtml" x="650" y="750" zoom="true"/>
-        <Node id="user/login_add_addressbook.xhtml" x="1900" y="150" zoom="true"/>
-        <Node id="user/login_contact_data_saved.xhtml" x="150" y="1350" zoom="true"/>
-        <Node id="admin/contact/admin_contact_delete.xhtml" x="150" y="450" zoom="true"/>
-        <Node id="user/user_profile.xhtml" x="900" y="150" zoom="true"/>
-        <Node id="imprint.xhtml" x="400" y="600" zoom="true"/>
-        <Node id="user/login_shared_addressbooks.xhtml" x="650" y="1350" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_edit.xhtml" x="400" y="150" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_show.xhtml" x="650" y="150" zoom="true"/>
-        <Node id="admin/admin_product_delete.xhtml" x="1400" y="300" zoom="true"/>
-        <Node id="guest/user/login.xhtml" x="2150" y="150" zoom="true"/>
-        <Node id="guest/user/register.xhtml" x="900" y="300" zoom="true"/>
-        <Node id="user/login_change_email_address.xhtml" x="1650" y="750" zoom="true"/>
+        <Node id="logout.xhtml" x="900" y="450" zoom="true"/>
+        <Node id="admin/country/admin_country_edit.xhtml" x="650" y="900" zoom="true"/>
+        <Node id="guest/user/resend_link.xhtml" x="650" y="450" zoom="true"/>
+        <Node id="user/login_add_addressbook.xhtml" x="1400" y="900" zoom="true"/>
+        <Node id="user/login_contact_data_saved.xhtml" x="400" y="1350" zoom="true"/>
+        <Node id="user/user_profile.xhtml" x="900" y="300" zoom="true"/>
+        <Node id="admin/contact/admin_contact_delete.xhtml" x="650" y="750" zoom="true"/>
+        <Node id="imprint.xhtml" x="1650" y="300" zoom="true"/>
+        <Node id="user/login_shared_addressbooks.xhtml" x="650" y="300" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_edit.xhtml" x="1400" y="150" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_show.xhtml" x="900" y="1200" zoom="true"/>
+        <Node id="admin/admin_product_delete.xhtml" x="150" y="1050" zoom="true"/>
+        <Node id="guest/user/login.xhtml" x="1650" y="450" zoom="true"/>
+        <Node id="guest/user/register.xhtml" x="2650" y="150" zoom="true"/>
+        <Node id="user/login_change_email_address.xhtml" x="2400" y="150" zoom="true"/>
     </Scope>
     <Scope Scope="All Faces Configurations"/>
 </Scene>
index badc84db55cf43cd15614ccc870cb4ce8893bacc..2d6a96a32c98925dae3c957515f806be9ce18371 100644 (file)
@@ -589,3 +589,6 @@ ADMIN_EXPORT_USER_ACCOUNT_STATUS=Accountstatus
 ADMIN_EXPORT_USERS_TITLE=Export der Benutzerdaten starten:
 ADMIN_EXPORT_USERS_TIMEOUT_WARNING=Bei sehr gro\u00dfen Datenmengen kann es eventuell zu Zeit\u00fcberschreitungen kommen. Daher sollten Sie besser seitenweise exportieren.
 BUTTON_ADMIN_EXPORT_USERS_XLS=Benutzerdaten als Excel-Datei
+PAGE_TITLE_USER_RESEND_DONE=Neuen Best\u00e4tigungslink verschickt
+CONTENT_TITLE_USER_RESEND_DONE=Neuen Best\u00e4tigungslink verschickt:
+GUEST_USER_RESEND_LINK_COMPLETED=Es ist ein neuer Best\u00e4tigungslink an Ihre Email-Adresse unterwegs. Bitte kontrollieren Sie Ihr Mail-Postfach.
index 54a4c14ff0b8911cba345f6084c9ae827ab08d0e..25d1f03283ac511f79c1b5100d7f1c74729a0574 100644 (file)
@@ -587,3 +587,6 @@ ADMIN_EXPORT_USER_ACCOUNT_STATUS=Account status
 ADMIN_EXPORT_USERS_TITLE=Start export of user data:
 ADMIN_EXPORT_USERS_TIMEOUT_WARNING=Big data amount may lead to timeouts. You should then try to export each page separately.
 BUTTON_ADMIN_EXPORT_USERS_XLS=User data as Excel file
+PAGE_TITLE_USER_RESEND_DONE=New confirmation link sent
+CONTENT_TITLE_USER_RESEND_DONE=New confirmation link sent:
+GUEST_USER_RESEND_LINK_COMPLETED=A new confirmation link has been sent out to your email address. Please check your email box.
index 8bde2fa7738815306cb80d68f6da8ef0d91d8c5e..6d3fcbd027470b213afc3c61faa152ae5d5e9628 100644 (file)
                        <to-view-id>/user/login_index.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
+       <navigation-rule>
+               <from-view-id>/guest/user/resend_link.xhtml</from-view-id>
+               <navigation-case>
+                       <from-outcome>resend_done</from-outcome>
+                       <to-view-id>/guest/user/resend_done.xhtml</to-view-id>
+               </navigation-case>
+       </navigation-rule>
        <navigation-rule>
                <from-view-id>/guest/user/register.xhtml</from-view-id>
                <navigation-case>
index e89511e94faa63187a8c3a6a80c55b3ac6f646da..c4e8ab67142ab7bbb45dabdb3bf07791f8a6df16 100644 (file)
@@ -16,7 +16,7 @@
 
                <ui:define name="content">
                        <div class="para">
-                               #{msg.GUEST_USER_REGISTRATION_COMPLETED}
+                               <h:outputText value="#{msg.GUEST_USER_REGISTRATION_COMPLETED}" />
                        </div>
 
                        <div class="registration_form">
diff --git a/web/guest/user/resend_done.xhtml b/web/guest/user/resend_done.xhtml
new file mode 100644 (file)
index 0000000..2cf5efe
--- /dev/null
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+       lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
+       xmlns="http://www.w3.org/1999/xhtml"
+       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
+       xmlns:h="http://xmlns.jcp.org/jsf/html"
+       xmlns:f="http://xmlns.jcp.org/jsf/core"
+       >
+
+       <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
+               <ui:define name="guest_title">#{msg.PAGE_TITLE_USER_RESEND_DONE}</ui:define>
+
+               <ui:define name="content_header">
+                       #{msg.CONTENT_TITLE_USER_RESEND_DONE}
+               </ui:define>
+
+               <ui:define name="content">
+                       <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+                               <ui:param name="message" value="#{msg.GUEST_USER_RESEND_LINK_COMPLETED}" />
+                       </ui:include>
+               </ui:define>
+       </ui:composition>
+</html>
index f0ff37795a6d0fb17288d43548fdc7f44b6f3ee7..1bd39597128141ff7afdd3dc1419247ca0f965f5 100644 (file)
@@ -18,7 +18,7 @@
                        <ui:fragment rendered="#{loginController.isUserLoggedIn()}">
                                <div class="table">
                                        <div class="table_header">
-                                               #{msg.LOGIN_EDIT_USER_DATA_TITLE}
+                                               <h:outputText value="#{msg.LOGIN_EDIT_USER_DATA_TITLE}" />
                                        </div>
 
                                        <div class="para notice">