]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 18 Aug 2016 10:15:59 +0000 (12:15 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 21 Aug 2016 19:45:20 +0000 (21:45 +0200)
- f:viewAction needs to be executed on POST request as well
- still the registered h:commandButton's method is not being invoked :-(
- again?!

web/admin/contact/admin_contact_delete.xhtml
web/admin/contact/admin_contact_edit.xhtml
web/admin/contact/admin_contact_show.xhtml
web/admin/fax/admin_fax_edit.xhtml
web/admin/mobile/admin_mobile_edit.xhtml
web/admin/user/admin_user_delete.xhtml
web/admin/user/admin_user_edit.xhtml
web/admin/user/admin_user_lock.xhtml
web/admin/user/admin_user_show.xhtml
web/admin/user/admin_user_unlock.xhtml

index 50af678edfd109c1fe36aac6cd084fc787e460b6..34b638358c584dda43adaf18569934bddc7da291 100644 (file)
@@ -9,7 +9,7 @@
 
        <f:metadata>
                <f:viewParam name="contactId" value="#{beanHelper.contact}" converter="ContactConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_CONTACT_ID_NOT_SET}" />
-               <f:viewAction action="#{beanHelper.copyContactToController()}" />
+               <f:viewAction onPostback="true" action="#{beanHelper.copyContactToController()}" />
        </f:metadata>
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
index 587d7cc20e2c314af138d420dfc31c3e5e7fd3f7..e6e11210b77d7a9c807c6a2c88d073cb02e3459b 100644 (file)
@@ -9,7 +9,7 @@
 
        <f:metadata>
                <f:viewParam name="contactId" value="#{beanHelper.contact}" converter="ContactConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_CONTACT_ID_NOT_SET}" />
-               <f:viewAction action="#{beanHelper.copyContactToController()}" />
+               <f:viewAction onPostback="true" action="#{beanHelper.copyContactToController()}" />
        </f:metadata>
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
index 478217b3a33e20b030663b1159057b4a4d40991b..ec009c3a3d855444a1446526189ae9245363733d 100644 (file)
@@ -9,7 +9,7 @@
 
        <f:metadata>
                <f:viewParam name="contactId" value="#{beanHelper.contact}" converter="ContactConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_CONTACT_ID_NOT_SET}" />
-               <f:viewAction action="#{beanHelper.copyContactToController()}" />
+               <f:viewAction onPostback="true" action="#{beanHelper.copyContactToController()}" />
        </f:metadata>
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
index 942c61bc0d3f04d83eff1549009dc475b49fd9fb..be3465497e42ba14c637392c6b0b3f29ed5aa3ee 100644 (file)
@@ -9,7 +9,7 @@
 
        <f:metadata>
                <f:viewParam name="phoneId" value="#{beanHelper.faxNumber}" converter="FaxNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" />
-               <f:viewAction action="#{beanHelper.copyFaxNumberToController()}" />
+               <f:viewAction onPostback="true" action="#{beanHelper.copyFaxNumberToController()}" />
        </f:metadata>
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
index ba9155672c3b32be48fd31a8938357e16fe93648..4eaf05d7976d2c815c563aa15e9367d55c632096 100644 (file)
@@ -9,7 +9,7 @@
 
        <f:metadata>
                <f:viewParam name="phoneId" value="#{beanHelper.mobileNumber}" converter="MobileNumberConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" />
-               <f:viewAction action="#{beanHelper.copyMobileNumberToController()}" />
+               <f:viewAction onPostback="true" action="#{beanHelper.copyMobileNumberToController()}" />
        </f:metadata>
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
index 4397e93084c62777dda28019aa16921b2173a12c..4a1c9969786fb055ba106b2d92929b648c3b4bcf 100644 (file)
@@ -9,7 +9,7 @@
 
        <f:metadata>
                <f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" />
-               <f:viewAction action="#{beanHelper.copyUserToController()}" />
+               <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
        </f:metadata>
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
index 630bb23e06121324e3ee5575c317d63a27abeea3..eb18aaf569015bf22647e82ea5e64e260f680c13 100644 (file)
@@ -10,7 +10,7 @@
 
        <f:metadata>
                <f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" />
-               <f:viewAction action="#{beanHelper.copyUserToController()}" />
+               <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
        </f:metadata>
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
index 357c1df3ef8e6c5f625e7603cbcc1769ff4afbd8..c7bd7b3e84108f7e83d76e21d42381332c17802a 100644 (file)
@@ -10,7 +10,7 @@
 
        <f:metadata>
                <f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" />
-               <f:viewAction action="#{beanHelper.copyUserToController()}" />
+               <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
        </f:metadata>
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
index aa9f4f6a8b140a6ce85c62b886507d2a4ff30c2d..cc29b2991db33d61a77c5bdc65ec050224d53c05 100644 (file)
@@ -9,7 +9,7 @@
 
        <f:metadata>
                <f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" />
-               <f:viewAction action="#{beanHelper.copyUserToController()}" />
+               <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
        </f:metadata>
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
index 41cbfe119bce423f88f9e3c9fcaf01dbd0af54e4..ce0d3a9d71cdaac009d9a560ff4e995bc2fff492 100644 (file)
@@ -9,7 +9,7 @@
 
        <f:metadata>
                <f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" />
-               <f:viewAction action="#{beanHelper.copyUserToController()}" />
+               <f:viewAction onPostback="true" action="#{beanHelper.copyUserToController()}" />
        </f:metadata>
 
        <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">