]> git.mxchange.org Git - jjobs-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:42 +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 480e8f984a265dbc0519c703d4d89012cd52491d..6e9500048843242210fa576577b68f4e4f6c0f5b 100644 (file)
@@ -2,54 +2,55 @@
 <Scene Scope="Project" version="2">
     <Scope Scope="Faces Configuration Only"/>
     <Scope Scope="Project">
-        <Node id="admin/cellphone/admin_contact_cellphone_list.xhtml" x="400" y="450" zoom="true"/>
-        <Node id="admin/contact/admin_contact_show.xhtml" x="900" y="300" zoom="true"/>
-        <Node id="privacy.xhtml" x="650" y="300" zoom="true"/>
-        <Node id="login/login_change_password.xhtml" x="150" y="900" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_show.xhtml" x="150" y="1050" zoom="true"/>
-        <Node id="admin/user/admin_user_show.xhtml" x="150" y="150" zoom="true"/>
-        <Node id="admin/index.xhtml" x="650" y="750" zoom="true"/>
-        <Node id="user/resend_link.xhtml" x="650" y="600" zoom="true"/>
-        <Node id="admin/admin_logout.xhtml" x="2400" y="150" zoom="true"/>
-        <Node id="admin/user/admin_user_unlock.xhtml" x="1150" y="600" zoom="true"/>
-        <Node id="index.xhtml" x="1150" y="750" zoom="true"/>
-        <Node id="user/register_done.xhtml" x="900" y="150" zoom="true"/>
-        <Node id="admin/admin_category_delete.xhtml" x="900" y="450" zoom="true"/>
-        <Node id="*" x="1900" y="450" zoom="true"/>
-        <Node id="user/login_error.xhtml" x="150" y="750" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_edit.xhtml" x="150" y="600" zoom="true"/>
-        <Node id="user/show_addressbook_entries.xhtml" x="1150" y="300" zoom="true"/>
-        <Node id="user/lost_passwd.xhtml" x="1650" y="150" zoom="true"/>
-        <Node id="user/login.xhtml" x="400" y="750" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_unlink.xhtml" x="400" y="300" zoom="true"/>
-        <Node id="login/login_edit_user_data.xhtml" x="1400" y="300" zoom="true"/>
-        <Node id="admin/country/admin_country_list.xhtml" x="150" y="1350" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_delete.xhtml" x="650" y="900" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_list.xhtml" x="650" y="1050" zoom="true"/>
-        <Node id="exception.xhtml" x="1150" y="450" zoom="true"/>
-        <Node id="login/login_data_saved.xhtml" x="400" y="900" zoom="true"/>
-        <Node id="admin/user/admin_user_delete.xhtml" x="1900" y="150" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_delete.xhtml" x="1400" y="600" zoom="true"/>
-        <Node id="user/register.xhtml" x="900" y="750" zoom="true"/>
-        <Node id="login/login_add_addressbook.xhtml" x="900" y="600" zoom="true"/>
-        <Node id="login/login_index.xhtml" x="2150" y="150" zoom="true"/>
-        <Node id="login/login_own_addressbooks.xhtml" x="1400" y="150" zoom="true"/>
-        <Node id="admin/user/admin_user_edit.xhtml" x="650" y="150" zoom="true"/>
-        <Node id="terms.xhtml" x="900" y="900" zoom="true"/>
-        <Node id="admin/user/admin_user_list.xhtml" x="1650" y="300" zoom="true"/>
-        <Node id="admin/admin_user_add.xhtml" x="1400" y="450" zoom="true"/>
-        <Node id="admin/country/admin_country_delete.xhtml" x="650" y="450" zoom="true"/>
-        <Node id="user/user_list.xhtml" x="400" y="150" zoom="true"/>
-        <Node id="logout.xhtml" x="1150" y="150" zoom="true"/>
-        <Node id="admin/country/admin_country_edit.xhtml" x="1650" y="450" zoom="true"/>
-        <Node id="login/login_change_personal_data.xhtml" x="150" y="450" zoom="true"/>
-        <Node id="user/user_profile.xhtml" x="400" y="1050" zoom="true"/>
-        <Node id="imprint.xhtml" x="150" y="1200" zoom="true"/>
-        <Node id="user/show_addressbook.xhtml" x="400" y="1200" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_edit.xhtml" x="400" y="600" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_show.xhtml" x="2150" y="300" zoom="true"/>
-        <Node id="admin/admin_product_delete.xhtml" x="150" y="300" zoom="true"/>
-        <Node id="login/login_change_email_address.xhtml" x="1900" y="300" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_list.xhtml" x="2400" y="150" zoom="true"/>
+        <Node id="admin/contact/admin_contact_show.xhtml" x="150" y="150" zoom="true"/>
+        <Node id="privacy.xhtml" x="400" y="300" zoom="true"/>
+        <Node id="login/login_change_password.xhtml" x="1900" y="300" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_show.xhtml" x="400" y="150" zoom="true"/>
+        <Node id="admin/user/admin_user_show.xhtml" x="1400" y="150" zoom="true"/>
+        <Node id="admin/index.xhtml" x="1650" y="300" zoom="true"/>
+        <Node id="user/resend_link.xhtml" x="1400" y="600" zoom="true"/>
+        <Node id="admin/admin_logout.xhtml" x="400" y="1200" zoom="true"/>
+        <Node id="admin/user/admin_user_unlock.xhtml" x="150" y="1200" zoom="true"/>
+        <Node id="index.xhtml" x="150" y="900" zoom="true"/>
+        <Node id="user/register_done.xhtml" x="1150" y="150" zoom="true"/>
+        <Node id="*" x="150" y="450" zoom="true"/>
+        <Node id="admin/admin_category_delete.xhtml" x="1650" y="450" zoom="true"/>
+        <Node id="user/login_error.xhtml" x="650" y="150" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_edit.xhtml" x="1650" y="600" zoom="true"/>
+        <Node id="user/show_addressbook_entries.xhtml" x="2150" y="300" zoom="true"/>
+        <Node id="user/lost_passwd.xhtml" x="900" y="450" zoom="true"/>
+        <Node id="user/login.xhtml" x="2150" y="150" zoom="true"/>
+        <Node id="admin/country/admin_country_list.xhtml" x="150" y="300" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_unlink.xhtml" x="1400" y="300" zoom="true"/>
+        <Node id="login/login_edit_user_data.xhtml" x="900" y="750" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_delete.xhtml" x="400" y="900" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_list.xhtml" x="1400" y="450" zoom="true"/>
+        <Node id="login/login_data_saved.xhtml" x="150" y="600" zoom="true"/>
+        <Node id="admin/user/admin_user_delete.xhtml" x="650" y="600" zoom="true"/>
+        <Node id="exception.xhtml" x="150" y="1050" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_delete.xhtml" x="1150" y="600" zoom="true"/>
+        <Node id="user/register.xhtml" x="400" y="450" zoom="true"/>
+        <Node id="login/login_add_addressbook.xhtml" x="650" y="1050" zoom="true"/>
+        <Node id="login/login_index.xhtml" x="1900" y="450" zoom="true"/>
+        <Node id="login/login_own_addressbooks.xhtml" x="900" y="150" zoom="true"/>
+        <Node id="admin/user/admin_user_edit.xhtml" x="650" y="300" zoom="true"/>
+        <Node id="terms.xhtml" x="400" y="750" zoom="true"/>
+        <Node id="admin/contact/admin_contact_edit.xhtml" x="650" y="900" zoom="true"/>
+        <Node id="admin/user/admin_user_list.xhtml" x="650" y="450" zoom="true"/>
+        <Node id="admin/admin_user_add.xhtml" x="650" y="750" zoom="true"/>
+        <Node id="admin/country/admin_country_delete.xhtml" x="900" y="900" zoom="true"/>
+        <Node id="user/user_list.xhtml" x="1150" y="450" zoom="true"/>
+        <Node id="logout.xhtml" x="400" y="1050" zoom="true"/>
+        <Node id="admin/country/admin_country_edit.xhtml" x="150" y="1350" zoom="true"/>
+        <Node id="login/login_change_personal_data.xhtml" x="1150" y="300" zoom="true"/>
+        <Node id="user/user_profile.xhtml" x="900" y="600" zoom="true"/>
+        <Node id="user/show_addressbook.xhtml" x="900" y="300" zoom="true"/>
+        <Node id="imprint.xhtml" x="1900" y="150" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_edit.xhtml" x="1650" y="150" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_show.xhtml" x="400" y="600" zoom="true"/>
+        <Node id="admin/admin_product_delete.xhtml" x="150" y="750" zoom="true"/>
+        <Node id="login/login_change_email_address.xhtml" x="1150" y="750" zoom="true"/>
     </Scope>
     <Scope Scope="All Faces Configurations"/>
 </Scene>
index 9f655343bb553a8b1cb50ff595e6be7235e15873..16744fcd80caf1f8b8d493af79eecd008afc483a 100644 (file)
@@ -477,3 +477,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 18afff3fb38a886ceb97e7306fa7c89a076cf036..d055e648ce582926e5aa72384ab36229518d3d22 100644 (file)
@@ -452,3 +452,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 756ec0b7cc985aa74add121b3bda223adfcc5787..752d28c21f6205ca65a5ed2592cecad0c3f7925e 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>