]> git.mxchange.org Git - jjobs-war.git/commitdiff
Continued a bit:
authorRoland Häder <roland@mxchange.org>
Mon, 2 May 2016 10:39:57 +0000 (12:39 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 2 May 2016 20:16:30 +0000 (22:16 +0200)
- added missing helper call
- renamed method
- added missing navigation rules

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
nbproject/faces-config.NavData
src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebRequestBean.java
src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebRequestController.java
web/WEB-INF/faces-config.xml
web/WEB-INF/templates/guest/guest_footer.tpl

index 44d43ba771fe17ff02f8c75947fbecb1aa68dd2d..145bb04267540922badbe5bf67267ca71d19e866 100644 (file)
@@ -2,59 +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="900" y="900" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_list.xhtml" x="900" y="1050" zoom="true"/>
         <Node id="admin/contact/admin_contact_show.xhtml" x="1150" y="900" zoom="true"/>
-        <Node id="login/login_change_password.xhtml" x="900" y="450" zoom="true"/>
-        <Node id="privacy.xhtml" x="650" y="1200" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_show.xhtml" x="2400" y="150" zoom="true"/>
-        <Node id="admin/user/admin_user_show.xhtml" x="150" y="900" zoom="true"/>
-        <Node id="admin/index.xhtml" x="150" y="600" zoom="true"/>
-        <Node id="user/resend_link.xhtml" x="400" y="150" zoom="true"/>
-        <Node id="admin/admin_logout.xhtml" x="650" y="150" zoom="true"/>
-        <Node id="admin/user/admin_user_unlock.xhtml" x="900" y="600" zoom="true"/>
-        <Node id="index.xhtml" x="1650" y="300" zoom="true"/>
-        <Node id="user/register_done.xhtml" x="150" y="450" zoom="true"/>
-        <Node id="*" x="900" y="150" zoom="true"/>
-        <Node id="admin/admin_category_delete.xhtml" x="650" y="300" zoom="true"/>
-        <Node id="user/login_error.xhtml" x="1150" y="750" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_edit.xhtml" x="400" y="300" zoom="true"/>
-        <Node id="user/show_addressbook_entries.xhtml" x="400" y="1050" zoom="true"/>
-        <Node id="user/lost_passwd.xhtml" x="1900" y="150" zoom="true"/>
-        <Node id="user/login.xhtml" x="1150" y="450" zoom="true"/>
-        <Node id="admin/country/admin_country_list.xhtml" x="650" y="750" zoom="true"/>
-        <Node id="login/login_edit_user_data.xhtml" x="1650" y="450" zoom="true"/>
-        <Node id="login/login_contact_data_saved.xhtml" x="400" y="1200" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_unlink.xhtml" x="1900" y="450" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_delete.xhtml" x="150" y="150" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_list.xhtml" x="1150" y="150" zoom="true"/>
+        <Node id="login/login_change_password.xhtml" x="650" y="600" zoom="true"/>
+        <Node id="privacy.xhtml" x="1650" y="150" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_show.xhtml" x="900" y="450" zoom="true"/>
+        <Node id="admin/user/admin_user_show.xhtml" x="1400" y="450" zoom="true"/>
+        <Node id="admin/index.xhtml" x="1650" y="300" zoom="true"/>
+        <Node id="user/resend_link.xhtml" x="150" y="1350" zoom="true"/>
+        <Node id="admin/admin_logout.xhtml" x="150" y="150" zoom="true"/>
+        <Node id="admin/user/admin_user_unlock.xhtml" x="1400" y="150" zoom="true"/>
+        <Node id="index.xhtml" x="400" y="900" zoom="true"/>
+        <Node id="user/register_done.xhtml" x="150" y="1050" zoom="true"/>
+        <Node id="*" x="400" y="300" zoom="true"/>
+        <Node id="admin/admin_category_delete.xhtml" x="400" y="750" zoom="true"/>
+        <Node id="user/login_error.xhtml" x="650" y="150" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_edit.xhtml" x="900" y="600" zoom="true"/>
+        <Node id="user/show_addressbook_entries.xhtml" x="1900" y="300" zoom="true"/>
+        <Node id="user/lost_passwd.xhtml" x="2400" y="150" zoom="true"/>
+        <Node id="user/login.xhtml" x="1150" y="300" zoom="true"/>
+        <Node id="login/login_contact_data_saved.xhtml" x="400" y="600" zoom="true"/>
+        <Node id="login/login_edit_user_data.xhtml" x="1150" y="450" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_unlink.xhtml" x="650" y="1050" zoom="true"/>
+        <Node id="admin/country/admin_country_list.xhtml" x="1400" y="750" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_delete.xhtml" x="1650" y="450" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_list.xhtml" x="1400" y="600" zoom="true"/>
+        <Node id="admin/user/admin_user_delete.xhtml" x="1150" y="150" zoom="true"/>
         <Node id="admin/cellphone/admin_contact_cellphone_delete.xhtml" x="650" y="450" zoom="true"/>
-        <Node id="login/login_data_saved.xhtml" x="650" y="600" zoom="true"/>
-        <Node id="exception.xhtml" x="1400" y="300" zoom="true"/>
-        <Node id="admin/user/admin_user_delete.xhtml" x="2150" y="300" zoom="true"/>
-        <Node id="user/register.xhtml" x="1650" y="150" zoom="true"/>
-        <Node id="login/login_index.xhtml" x="1400" y="450" zoom="true"/>
-        <Node id="login/login_add_addressbook.xhtml" x="1650" y="600" zoom="true"/>
-        <Node id="login/login_own_addressbooks.xhtml" x="150" y="1200" zoom="true"/>
-        <Node id="admin/user/admin_user_edit.xhtml" x="400" y="750" zoom="true"/>
-        <Node id="terms.xhtml" x="2150" y="150" zoom="true"/>
-        <Node id="admin/contact/admin_contact_list.xhtml" x="900" y="750" zoom="true"/>
-        <Node id="admin/contact/admin_contact_edit.xhtml" x="1400" y="600" zoom="true"/>
-        <Node id="admin/admin_user_add.xhtml" x="150" y="300" zoom="true"/>
-        <Node id="admin/user/admin_user_list.xhtml" x="150" y="1050" zoom="true"/>
-        <Node id="admin/country/admin_country_delete.xhtml" x="1900" y="300" zoom="true"/>
-        <Node id="login/login_user_data_saved.xhtml" x="400" y="450" zoom="true"/>
-        <Node id="user/user_list.xhtml" x="1400" y="150" zoom="true"/>
-        <Node id="admin/country/admin_country_edit.xhtml" x="650" y="1050" zoom="true"/>
-        <Node id="logout.xhtml" x="150" y="1350" zoom="true"/>
-        <Node id="admin/contact/admin_contact_delete.xhtml" x="900" y="300" zoom="true"/>
-        <Node id="login/login_change_personal_data.xhtml" x="400" y="900" zoom="true"/>
-        <Node id="user/user_profile.xhtml" x="650" y="900" zoom="true"/>
-        <Node id="user/show_addressbook.xhtml" x="400" y="600" zoom="true"/>
-        <Node id="imprint.xhtml" x="1150" y="300" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_edit.xhtml" x="150" y="750" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_show.xhtml" x="1150" y="600" zoom="true"/>
-        <Node id="admin/admin_product_delete.xhtml" x="1400" y="750" zoom="true"/>
-        <Node id="login/login_change_email_address.xhtml" x="900" y="1050" zoom="true"/>
+        <Node id="login/login_data_saved.xhtml" x="650" y="900" zoom="true"/>
+        <Node id="exception.xhtml" x="650" y="1200" zoom="true"/>
+        <Node id="user/register.xhtml" x="150" y="900" zoom="true"/>
+        <Node id="login/login_index.xhtml" x="1900" y="150" zoom="true"/>
+        <Node id="login/login_add_addressbook.xhtml" x="2150" y="150" zoom="true"/>
+        <Node id="login/login_own_addressbooks.xhtml" x="1150" y="750" zoom="true"/>
+        <Node id="admin/user/admin_user_edit.xhtml" x="900" y="150" zoom="true"/>
+        <Node id="terms.xhtml" x="2150" y="300" zoom="true"/>
+        <Node id="admin/contact/admin_contact_edit.xhtml" x="150" y="450" zoom="true"/>
+        <Node id="admin/contact/admin_contact_list.xhtml" x="400" y="1200" zoom="true"/>
+        <Node id="admin/user/admin_user_list.xhtml" x="150" y="300" zoom="true"/>
+        <Node id="admin/admin_user_add.xhtml" x="900" y="750" zoom="true"/>
+        <Node id="admin/country/admin_country_delete.xhtml" x="400" y="450" zoom="true"/>
+        <Node id="login/login_user_data_saved.xhtml" x="150" y="600" zoom="true"/>
+        <Node id="user/user_list.xhtml" x="400" y="1050" zoom="true"/>
+        <Node id="logout.xhtml" x="650" y="300" zoom="true"/>
+        <Node id="admin/country/admin_country_edit.xhtml" x="150" y="750" zoom="true"/>
+        <Node id="login/login_change_personal_data.xhtml" x="400" y="150" zoom="true"/>
+        <Node id="user/user_profile.xhtml" x="1150" y="600" zoom="true"/>
+        <Node id="admin/contact/admin_contact_delete.xhtml" x="900" y="900" zoom="true"/>
+        <Node id="user/show_addressbook.xhtml" x="900" y="300" zoom="true"/>
+        <Node id="imprint.xhtml" x="1650" y="600" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_edit.xhtml" x="1900" y="450" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_show.xhtml" x="650" y="750" zoom="true"/>
+        <Node id="admin/admin_product_delete.xhtml" x="1400" y="300" zoom="true"/>
+        <Node id="login/login_change_email_address.xhtml" x="150" y="1200" zoom="true"/>
     </Scope>
     <Scope Scope="All Faces Configurations"/>
 </Scene>
index 1bfb1e5dae02e82d3f642a96993a1af1d273c92f..b2c52c38be7bceabcf8aceb2ab80eee8e4e92caf 100644 (file)
@@ -237,7 +237,7 @@ public class JobsAdminUserWebRequestBean implements JobsAdminUserWebRequestContr
        }
 
        @Override
-       public String changeUserData () {
+       public String editUserData () {
                // Get user instance
                User user = this.adminHelper.getUser();
 
index a59d9af98f7981745354c38aca1713084f835745..3408cbf609e524ddaf40e18e76775b36d240e803 100644 (file)
@@ -76,7 +76,7 @@ public interface JobsAdminUserWebRequestController extends Serializable {
         * <p>
         * @return Redirect outcome
         */
-       String changeUserData ();
+       String editUserData ();
 
        /**
         * Getter for user name
index 52289a5cd59a6320dae56905f072c4c505fec2f6..3ad8b75fe0ed47c45930bd8394d2c5f8f88c40b0 100644 (file)
                        <from-outcome>admin_delete_contact</from-outcome>
                        <to-view-id>/admin/contact/admin_contact_delete.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>
+               </navigation-case>
+               <navigation-case>
+                       <from-outcome>admin_edit_contact_cellphone</from-outcome>
+                       <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
+               </navigation-case>
+               <navigation-case>
+                       <from-outcome>admin_delete_contact_cellphone</from-outcome>
+                       <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
+               </navigation-case>
+               <navigation-case>
+                       <from-outcome>admin_unlink_contact_cellphone</from-outcome>
+                       <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
+               </navigation-case>
+               <navigation-case>
+                       <from-outcome>admin_show_contact_cellphone</from-outcome>
+                       <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
+               </navigation-case>
        </navigation-rule>
        <navigation-rule>
                <from-view-id>/admin/cellphone/admin_contact_cellphone_list.xhtml</from-view-id>
index ca66023edd591fa26552539ea0d8a11c17d33742..e1ff4cbe05676c5926a7cffca0cf8971c62ca7ee 100644 (file)
@@ -9,15 +9,19 @@
                        <li class="footer_link">
                                <h:link outcome="index" title="#{msg.LINK_GUEST_HOME_TITLE}" value="#{msg.LINK_GUEST_HOME}" />
                        </li>
+
                        <li class="footer_link">
                                <h:link outcome="imprint" title="#{msg.LINK_GUEST_IMPRINT_TITLE}" value="#{msg.LINK_GUEST_IMPRINT}" />
                        </li>
+
                        <li class="footer_link">
                                <h:link outcome="terms" title="#{msg.LINK_GUEST_TERMS_TITLE}" value="#{msg.LINK_GUEST_TERMS}" />
                        </li>
+
                        <li class="footer_link">
                                <h:link outcome="privacy" title="#{msg.LINK_GUEST_PRIVACY_TITLE}" value="#{msg.LINK_GUEST_PRIVACY}" />
                        </li>
+
                        <li class="footer_copyright">Copyright (c) 2016 by Roland Häder</li>
                </ul>
        </div>