]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Added page (dummy) for editing contact data
authorRoland Haeder <roland@mxchange.org>
Mon, 18 Apr 2016 20:03:23 +0000 (22:03 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 18 Apr 2016 20:04:06 +0000 (22:04 +0200)
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/WEB-INF/templates/admin/user/admin_user_links.tpl
web/admin/contact/admin_contact_edit.xhtml [new file with mode: 0644]

index 476510b584792a2781d72a63e403a1560df8cd02..70c4286ad890fdf1854c5df52a378966aa8787ee 100644 (file)
@@ -2,61 +2,59 @@
 <Scene Scope="Project" version="2">
     <Scope Scope="Faces Configuration Only"/>
     <Scope Scope="Project">
-        <Node id="admin/cellphone/admin_contact_cellphone_list.xhtml" x="1900" y="150" zoom="true"/>
-        <Node id="admin/contact/admin_contact_show.xhtml" x="650" y="150" zoom="true"/>
-        <Node id="privacy.xhtml" x="1400" y="150" zoom="true"/>
-        <Node id="login/login_change_password.xhtml" x="650" y="1050" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_show.xhtml" x="1150" y="750" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_list.xhtml" x="400" y="900" zoom="true"/>
+        <Node id="admin/contact/admin_contact_show.xhtml" x="400" y="1050" zoom="true"/>
+        <Node id="login/login_change_password.xhtml" x="1400" y="750" zoom="true"/>
+        <Node id="privacy.xhtml" x="650" y="1200" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_show.xhtml" x="900" y="600" zoom="true"/>
         <Node id="admin/user/admin_user_show.xhtml" x="400" y="150" zoom="true"/>
-        <Node id="admin/index.xhtml" x="400" y="1350" zoom="true"/>
-        <Node id="login/login_start_sharing_addressbook.xhtml" x="1400" y="300" zoom="true"/>
-        <Node id="user/resend_link.xhtml" x="900" y="300" zoom="true"/>
-        <Node id="admin/country/admin_country_delete.xhtml" x="650" y="1200" zoom="true"/>
-        <Node id="admin/admin_logout.xhtml" x="650" y="600" zoom="true"/>
-        <Node id="admin/user/admin_user_unlock.xhtml" x="900" y="600" zoom="true"/>
-        <Node id="index.xhtml" x="1400" y="750" zoom="true"/>
-        <Node id="user/register_done.xhtml" x="1900" y="300" zoom="true"/>
-        <Node id="admin/admin_category_delete.xhtml" x="1150" y="300" zoom="true"/>
-        <Node id="*" x="150" y="1500" zoom="true"/>
-        <Node id="user/login_error.xhtml" x="400" y="750" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_edit.xhtml" x="650" y="900" zoom="true"/>
-        <Node id="user/show_addressbook_entries.xhtml" x="1150" y="150" zoom="true"/>
-        <Node id="user/lost_passwd.xhtml" x="1650" y="450" zoom="true"/>
-        <Node id="user/login.xhtml" x="650" y="300" zoom="true"/>
-        <Node id="login/login_list_sharing_addressbooks.xhtml" x="400" y="600" zoom="true"/>
-        <Node id="login/login_edit_user_data.xhtml" x="150" y="300" zoom="true"/>
-        <Node id="admin/country/admin_country_list.xhtml" x="650" y="450" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_unlink.xhtml" x="1400" y="600" zoom="true"/>
-        <Node id="login/login_shared_addressbooks.xhtml" x="1150" y="900" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_delete.xhtml" x="900" y="1050" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_list.xhtml" x="400" y="900" zoom="true"/>
-        <Node id="basket.xhtml" x="900" y="900" zoom="true"/>
-        <Node id="admin/user/admin_user_delete.xhtml" x="400" y="300" zoom="true"/>
-        <Node id="login/login_data_saved.xhtml" x="900" y="150" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_delete.xhtml" x="650" y="750" zoom="true"/>
-        <Node id="exception.xhtml" x="900" y="750" zoom="true"/>
-        <Node id="user/register.xhtml" x="1650" y="600" zoom="true"/>
-        <Node id="login/login_add_addressbook.xhtml" x="1650" y="150" zoom="true"/>
-        <Node id="login/login_index.xhtml" x="150" y="1350" zoom="true"/>
-        <Node id="login/login_own_addressbooks.xhtml" x="1650" y="300" zoom="true"/>
-        <Node id="admin/user/admin_user_edit.xhtml" x="150" y="750" zoom="true"/>
-        <Node id="terms.xhtml" x="1400" y="450" zoom="true"/>
-        <Node id="admin/country/admin_country_edit.xhtml" x="2150" y="150" zoom="true"/>
-        <Node id="admin/user/admin_user_list.xhtml" x="2400" y="150" zoom="true"/>
-        <Node id="admin/country/admin_country_delete.xhtml" x="400" y="1050" zoom="true"/>
-        <Node id="user/user_list.xhtml" x="150" y="600" zoom="true"/>
-        <Node id="logout.xhtml" x="1150" y="600" zoom="true"/>
-        <Node id="admin/country/admin_country_edit.xhtml" x="150" y="1200" zoom="true"/>
-        <Node id="admin/country/admin_country_list.xhtml" x="900" y="450" zoom="true"/>
-        <Node id="login/login_change_personal_data.xhtml" x="150" y="150" zoom="true"/>
-        <Node id="user/user_profile.xhtml" x="400" y="450" zoom="true"/>
-        <Node id="user/show_addressbook.xhtml" x="400" y="1200" zoom="true"/>
-        <Node id="imprint.xhtml" x="1900" y="450" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_edit.xhtml" x="150" y="900" zoom="true"/>
-        <Node id="login/login_other_addressbooks.xhtml" x="2150" y="300" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_show.xhtml" x="150" y="1050" zoom="true"/>
-        <Node id="admin/admin_product_delete.xhtml" x="1150" y="450" zoom="true"/>
-        <Node id="login/login_change_email_address.xhtml" x="150" y="450" zoom="true"/>
+        <Node id="admin/index.xhtml" x="900" y="300" zoom="true"/>
+        <Node id="login/login_start_sharing_addressbook.xhtml" x="1150" y="900" zoom="true"/>
+        <Node id="user/resend_link.xhtml" x="650" y="150" zoom="true"/>
+        <Node id="admin/admin_logout.xhtml" x="900" y="150" zoom="true"/>
+        <Node id="admin/user/admin_user_unlock.xhtml" x="650" y="1050" zoom="true"/>
+        <Node id="index.xhtml" x="1400" y="600" zoom="true"/>
+        <Node id="user/register_done.xhtml" x="150" y="450" zoom="true"/>
+        <Node id="admin/admin_category_delete.xhtml" x="1400" y="300" zoom="true"/>
+        <Node id="*" x="1400" y="450" zoom="true"/>
+        <Node id="user/login_error.xhtml" x="1400" y="150" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_edit.xhtml" x="650" y="300" zoom="true"/>
+        <Node id="user/show_addressbook_entries.xhtml" x="400" y="750" zoom="true"/>
+        <Node id="user/lost_passwd.xhtml" x="650" y="750" zoom="true"/>
+        <Node id="login/login_list_sharing_addressbooks.xhtml" x="2150" y="150" zoom="true"/>
+        <Node id="user/login.xhtml" x="2400" y="150" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_unlink.xhtml" x="150" y="900" zoom="true"/>
+        <Node id="admin/country/admin_country_list.xhtml" x="150" y="1050" zoom="true"/>
+        <Node id="login/login_edit_user_data.xhtml" x="900" y="1050" zoom="true"/>
+        <Node id="login/login_shared_addressbooks.xhtml" x="400" y="300" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_delete.xhtml" x="900" y="900" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_list.xhtml" x="900" y="750" zoom="true"/>
+        <Node id="basket.xhtml" x="400" y="600" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_delete.xhtml" x="150" y="300" zoom="true"/>
+        <Node id="exception.xhtml" x="150" y="750" zoom="true"/>
+        <Node id="admin/user/admin_user_delete.xhtml" x="150" y="1200" zoom="true"/>
+        <Node id="login/login_data_saved.xhtml" x="1150" y="750" zoom="true"/>
+        <Node id="user/register.xhtml" x="650" y="600" zoom="true"/>
+        <Node id="login/login_index.xhtml" x="150" y="600" zoom="true"/>
+        <Node id="login/login_add_addressbook.xhtml" x="650" y="450" zoom="true"/>
+        <Node id="login/login_own_addressbooks.xhtml" x="1150" y="300" zoom="true"/>
+        <Node id="admin/user/admin_user_edit.xhtml" x="150" y="1350" zoom="true"/>
+        <Node id="terms.xhtml" x="150" y="150" zoom="true"/>
+        <Node id="admin/contact/admin_contact_edit.xhtml" x="1650" y="150" zoom="true"/>
+        <Node id="admin/user/admin_user_list.xhtml" x="1900" y="300" zoom="true"/>
+        <Node id="admin/country/admin_country_delete.xhtml" x="2150" y="300" zoom="true"/>
+        <Node id="user/user_list.xhtml" x="900" y="450" zoom="true"/>
+        <Node id="admin/country/admin_country_edit.xhtml" x="650" y="900" zoom="true"/>
+        <Node id="logout.xhtml" x="1650" y="450" zoom="true"/>
+        <Node id="login/login_change_personal_data.xhtml" x="1150" y="150" zoom="true"/>
+        <Node id="user/user_profile.xhtml" x="1900" y="450" zoom="true"/>
+        <Node id="user/show_addressbook.xhtml" x="1150" y="600" zoom="true"/>
+        <Node id="imprint.xhtml" x="400" y="1200" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_edit.xhtml" x="400" y="450" zoom="true"/>
+        <Node id="login/login_other_addressbooks.xhtml" x="1150" y="450" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_show.xhtml" x="1900" y="150" zoom="true"/>
+        <Node id="admin/admin_product_delete.xhtml" x="1650" y="600" zoom="true"/>
+        <Node id="login/login_change_email_address.xhtml" x="1650" y="300" zoom="true"/>
     </Scope>
     <Scope Scope="All Faces Configurations"/>
 </Scene>
index 9c779bf2833e00da763c1cd51fb3f5177c6496ce..f1120bc4393143c842a91c0ec8ba5e4376fb8329 100644 (file)
@@ -507,3 +507,8 @@ ADMIN_SHOW_CELLPHONE_UNLINK=Trennen:
 ADMIN_SHOW_CONTACT_ID=Kontakt-Id:
 PAGE_TITLE_ADMIN_SHOW_CONTACT=Kontaktdaten anzeigen
 CONTENT_TITLE_ADMIN_SHOW_CONTACT=Kontaktdaten anzeigen:
+PAGE_TITLE_ADMIN_EDIT_CONTACT=Kontaktdaten editieren
+CONTENT_TITLE_ADMIN_EDIT_CONTACT=Kontaktdaten editieren:
+ADMIN_LINK_EDIT_CONTACT=Kontaktdaten editieren
+#@TODO Please fix German umlauts!
+ADMIN_LINK_EDIT_CONTACT_TITLE=Hier koennen Sie die Kontaktdaten editieren.
index 2975f99bf1444535c63188128da316d8f4413d28..66c00523c1f3e7b318a564c0929a88954b5034c2 100644 (file)
@@ -482,3 +482,7 @@ ADMIN_SHOW_CELLPHONE_UNLINK=Unlink:
 ADMIN_SHOW_CONTACT_ID=Contact id:
 PAGE_TITLE_ADMIN_SHOW_CONTACT=Show contact data
 CONTENT_TITLE_ADMIN_SHOW_CONTACT=Show contact data:
+PAGE_TITLE_ADMIN_EDIT_CONTACT=Edit contact data
+CONTENT_TITLE_ADMIN_EDIT_CONTACT=Edit contact data:
+ADMIN_LINK_EDIT_CONTACT=Edit contact data
+ADMIN_LINK_EDIT_CONTACT_TITLE=Here you can edit contact data.
index 6d11373377b5beecc3edbca5c3f1f2ce5ec28372..c0b8019492aba09c983047ced82d592d0f1761dc 100644 (file)
                        <from-outcome>admin_unlock_user</from-outcome>
                        <to-view-id>/admin/user/admin_user_unlock.xhtml</to-view-id>
                </navigation-case>
+               <navigation-case>
+                       <from-outcome>admin_edit_contact</from-outcome>
+                       <to-view-id>/admin/contact/admin_contact_edit.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>
index 6ef73140cfad0e6b3b555189ae66deb192bebd05..0c66c5868533ad8f907ff653614120c47e61324d 100644 (file)
                                                </h:link>
                                        </li>
 
+                                       <li>
+                                               <h:link outcome="admin_edit_contact" value="#{msg.ADMIN_LINK_EDIT_CONTACT}" title="#{msg.ADMIN_LINK_EDIT_CONTACT_TITLE}">
+                                                       <f:param name="contactId" value="#{user.userContact.contactId}" />
+                                               </h:link>
+                                       </li>
+
                                        <li>
                                                <h:link outcome="admin_unlock_user" value="#{msg.ADMIN_LINK_UNLOCK_USER}" title="#{msg.ADMIN_LINK_UNLOCK_USER_TITLE}">
                                                        <f:param name="userId" value="#{user.userId}" />
diff --git a/web/admin/contact/admin_contact_edit.xhtml b/web/admin/contact/admin_contact_edit.xhtml
new file mode 100644 (file)
index 0000000..9397ecf
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!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/admin/admin_base.tpl">
+               <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_EDIT_CONTACT}</ui:define>
+
+               <ui:define name="content_header">
+                       #{msg.CONTENT_TITLE_ADMIN_EDIT_CONTACT}
+               </ui:define>
+
+               <ui:define name="content">
+                       Here goes your content.
+               </ui:define>
+       </ui:composition>
+</html>