From: Roland Häder Date: Mon, 14 May 2018 21:40:10 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=89644553a53c91191d8c17aa8098d7acb8a76b8d;p=jjobs-war.git Please cherry-pick: - introduced list view-scoped backing bean for branch offices, including interface, which will hold the list for pagination and filtering/sorting as @RequestScoped annotated beans will be reset even on each AJAX requests - according to the change from "general" (request-scoped) to "list" (view-scoped) backing bean, also renamed class fields in converters/validators - private methods should not throw exceptions as they cannot be tested with unit tests - added new bean helper method renderCountry() - also include department name in renderEmployee(), if applyable - moved all receipt/product-related renderFoo() methods away to their own beans resulting in lesser conflicts on cherry-picking to other projects - rewrote bean helper methods "renderFoo()" a bit - added Accept: text/xml in case of AJAX requests (BalusC, thank you again) - added validator for branch office's email address - fixed relative path in project.properties (ops, NetBean's fault?) - added template for opening times data - fixed end of all ui:composition tags: > must be in new line to allow easy adding (only a line added, not 2 existing modified) of new "imports" - rewrote admin_basic_data_list.xtml to new way, with global search and details p:dialog being dynamically loaded (cool PF!) - same rewrite for admin_branch_office_list.xtml (still other views like edit/delete/assign will be missing) - remove for="someId" where really not needed ( was already within the tag where for="x" was pointing to) - removed not needed "imports" of XML namespaces - changed admin_contact_data_min.tpl to p:column (was h:column) - onPostback had some side effects like overwriting values, still some edit views may not work as expected (changer to PrimeFaces) - added required for primary key handled over from URL (edit/delete/assign views again) -