From: Roland Häder Date: Sun, 20 Aug 2017 23:36:16 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec89ade5e173ab7f83200d8564ae72cc66ed08c3;p=jfinancials-war.git Please cherry-pick: - converted mobile-numer, profile-mode and personal-title selection box into custom JSF tags (awsome stuff!) - added ERROR_PARAMETER_LABEL_MESSAGE_NOT_SET i18n string for JSF label messages - renamed generic.jsf.taglib.xml to widgets.jsf.taglib.xml, fitting previous renamings Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 121e8c28..12a5ab03 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -868,3 +868,4 @@ ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED=Fehler: Falscher Aufruf der Anmeldesei BUTTON_CHANGE_LOCALE=Aendern #@TODO Please fix German umlauts! BUTTON_CHANGE_LOCALE_TITLE=Aendern Sie hier in der aktuellen Sitzung die angezeigte Sprache. +ERROR_PARAMETER_LABEL_MESSAGE_NOT_SET=Fehler: Parameter "labelMessage" nicht gesetzt. diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index e8e347e2..6a09b611 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -833,3 +833,4 @@ BUTTON_ADMIN_CONTINUE_BUSINESS_CONTACT_PERSON=Add basic data ERROR_GUEST_REGISTRATION_IN_INDEX_ENABLED=Error: Wrong request on registration page as the index page serves as registration page. BUTTON_CHANGE_LOCALE=Change BUTTON_CHANGE_LOCALE_TITLE=Change here in your current session the used language for text output. +ERROR_PARAMETER_LABEL_MESSAGE_NOT_SET=Error: Parameter "labelMessage" not set. diff --git a/web/WEB-INF/generic.jsf.taglib.xml b/web/WEB-INF/generic.jsf.taglib.xml deleted file mode 100644 index 519b1897..00000000 --- a/web/WEB-INF/generic.jsf.taglib.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - http://mxchange.org/jsf/core/widgets - - outputMessageBox - This tag renders a style-able and customizable message for any kind of messages that the user should see. - resources/tags/generic/messages/message_box.tpl - - message - The message that should be place into the message box. You may also use EL code here that resolves to a message string. - true - java.lang.String - - - styleClass - The optional CSS style class to be forwarded on the h:outputText's styleClass attribute of the message. The default is "okay" which normally renders as a green colored message. - false - java.lang.String - - - - outputMessageBoxMini - This tag renders a style-able and customizable mini message for any kind of messages that the user should see. It is similar to outputMessageBox tag but it renders a smaller box instead. - resources/tags/generic/messages/message_box_mini.tpl - - message - The message that should be place into the message box. You may also use EL code here that resolves to a message string. - true - java.lang.String - - - styleClass - The optional CSS style class to be forwarded on the h:outputText's styleClass attribute of the message. The default is "okay" which normally renders as a green colored message. - false - java.lang.String - - - diff --git a/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns.tpl b/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns.tpl new file mode 100644 index 00000000..1bfcb98a --- /dev/null +++ b/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns.tpl @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns_mini.tpl b/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns_mini.tpl new file mode 100644 index 00000000..f510a317 --- /dev/null +++ b/web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns_mini.tpl @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/resources/tags/generic/messages/message_box.tpl b/web/WEB-INF/resources/tags/generic/messages/message_box.tpl deleted file mode 100644 index c32fdf7b..00000000 --- a/web/WEB-INF/resources/tags/generic/messages/message_box.tpl +++ /dev/null @@ -1,33 +0,0 @@ - - - -
-
- -
- - - -
- -
-
- - -
- -
-
-
- - -
- -
-
-
-
diff --git a/web/WEB-INF/resources/tags/generic/messages/message_box_mini.tpl b/web/WEB-INF/resources/tags/generic/messages/message_box_mini.tpl deleted file mode 100644 index 35cd54ad..00000000 --- a/web/WEB-INF/resources/tags/generic/messages/message_box_mini.tpl +++ /dev/null @@ -1,33 +0,0 @@ - - - -
-
- -
- - - -
- -
-
- - -
- -
-
-
- - -
- -
-
-
-
diff --git a/web/WEB-INF/resources/tags/messages/message_box.tpl b/web/WEB-INF/resources/tags/messages/message_box.tpl new file mode 100644 index 00000000..893620e2 --- /dev/null +++ b/web/WEB-INF/resources/tags/messages/message_box.tpl @@ -0,0 +1,33 @@ + + + + +
+ +
+ + + +
+ +
+
+ + +
+ +
+
+
+ + +
+ +
+
+
+
diff --git a/web/WEB-INF/resources/tags/messages/message_box_mini.tpl b/web/WEB-INF/resources/tags/messages/message_box_mini.tpl new file mode 100644 index 00000000..893620e2 --- /dev/null +++ b/web/WEB-INF/resources/tags/messages/message_box_mini.tpl @@ -0,0 +1,33 @@ + + + + +
+ +
+ + + +
+ +
+
+ + +
+ +
+
+
+ + +
+ +
+
+
+
diff --git a/web/WEB-INF/resources/tags/table_rows/mobile_selection_table_row.tpl b/web/WEB-INF/resources/tags/table_rows/mobile_selection_table_row.tpl new file mode 100644 index 00000000..4436316a --- /dev/null +++ b/web/WEB-INF/resources/tags/table_rows/mobile_selection_table_row.tpl @@ -0,0 +1,36 @@ + + + + + + + + + +
+ +
+ +
+ + + + + + + + + +
+
+ + + + +
+
diff --git a/web/WEB-INF/resources/tags/table_rows/user_personal_title_table_row.tpl b/web/WEB-INF/resources/tags/table_rows/user_personal_title_table_row.tpl new file mode 100644 index 00000000..adce3cb0 --- /dev/null +++ b/web/WEB-INF/resources/tags/table_rows/user_personal_title_table_row.tpl @@ -0,0 +1,31 @@ + + + + + + + +
+ +
+ +
+ + + + +
+ +
+
+ + + + +
+
diff --git a/web/WEB-INF/resources/tags/table_rows/user_profile_mode_table_row.tpl b/web/WEB-INF/resources/tags/table_rows/user_profile_mode_table_row.tpl new file mode 100644 index 00000000..132e28db --- /dev/null +++ b/web/WEB-INF/resources/tags/table_rows/user_profile_mode_table_row.tpl @@ -0,0 +1,32 @@ + + + + + + + + + +
+ +
+ +
+ + + +
+ +
+
+ + + + +
+
diff --git a/web/WEB-INF/templates/admin/admin_base.tpl b/web/WEB-INF/templates/admin/admin_base.tpl index 1fd16dda..b0e99e81 100644 --- a/web/WEB-INF/templates/admin/admin_base.tpl +++ b/web/WEB-INF/templates/admin/admin_base.tpl @@ -20,6 +20,6 @@ TODO: Add something here that should be displayed on all admin pages - + diff --git a/web/WEB-INF/templates/admin/contact/admin_contact_data_columns.tpl b/web/WEB-INF/templates/admin/contact/admin_contact_data_columns.tpl deleted file mode 100644 index 1bfcb98a..00000000 --- a/web/WEB-INF/templates/admin/contact/admin_contact_data_columns.tpl +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/WEB-INF/templates/admin/contact/admin_contact_data_columns_mini.tpl b/web/WEB-INF/templates/admin/contact/admin_contact_data_columns_mini.tpl deleted file mode 100644 index 61e914a9..00000000 --- a/web/WEB-INF/templates/admin/contact/admin_contact_data_columns_mini.tpl +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl b/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl index ddc82a43..dd1aea7f 100644 --- a/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl +++ b/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl @@ -1,6 +1,7 @@ @@ -14,24 +15,7 @@ - -
- -
- -
- - - - -
- -
-
- - - - +
@@ -233,19 +217,7 @@
- -
- -
- -
- - - -
- -
-
+
diff --git a/web/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl b/web/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl index 774bcff8..5fb4f0c7 100644 --- a/web/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl +++ b/web/WEB-INF/templates/admin/contact/admin_show_contact_data.tpl @@ -1,6 +1,7 @@ @@ -12,6 +13,6 @@ - + diff --git a/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl b/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl index ec1e8c0a..2e62ae93 100644 --- a/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl +++ b/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl @@ -36,17 +36,7 @@
- -
- -
- -
- - - -
-
+