abapGit/src/ui
Jakub Filak 9a6e6e8b24 ui: add a workaround for JavaGUI dyn form bug (#2873)
JavaGUI does not pass values of options from forms generated via
JavaScript.

This commit adds enhances the base page class to render stub forms
(empty form elements), so the page's JavaScript does not need to create
the form element on its own.

It is an optional behavior and can be enabled by redefining the method
get_events which should return table of required events and the base
page object will add the empty form elements for them. Every table line
will be converted to a form with id = "form_" + the event's name.

On the action submit SAP event in the common JavaScript, the method
checks if there is the stub form and if so, the method uses it instead
of creating the dynamic one. Otherwise, it follows the old approach that
creates the form at run-time.

--- v2

Use 'null' instead of 'undefined' to check the form was not found in
the JavaScript code.

---

Issues: #1866, #2769
2019-08-21 22:18:45 -07:00
..
core UT fix #2863 (#2871) 2019-08-15 22:23:56 -07:00
db File format update collection (#2605) 2019-03-31 01:17:46 -07:00
package.devc.xml lcl_html to global 2018-01-08 16:30:57 +00:00
zabapgit_css_common.w3mi.data.css Fix hint position for checkboxes (#2834) 2019-08-04 09:47:58 -07:00
zabapgit_css_common.w3mi.xml Belize theme (#2733) 2019-06-25 03:02:40 -07:00
zabapgit_css_theme_belize_blue.w3mi.data.css Belize theme (#2733) 2019-06-25 03:02:40 -07:00
zabapgit_css_theme_belize_blue.w3mi.xml Belize theme (#2733) 2019-06-25 03:02:40 -07:00
zabapgit_css_theme_dark.w3mi.data.css UI Dark Theme #2610 (#2787) 2019-08-01 00:57:30 -07:00
zabapgit_css_theme_dark.w3mi.xml UI Dark Theme #2610 (#2787) 2019-08-01 00:57:30 -07:00
zabapgit_css_theme_default.w3mi.data.css Completely dynamic JS hints (#2825) 2019-08-02 07:45:27 -07:00
zabapgit_css_theme_default.w3mi.xml Belize theme (#2733) 2019-06-25 03:02:40 -07:00
zabapgit_icon_font_css.w3mi.data.css Offline icons (#2454) 2019-03-06 00:49:04 -08:00
zabapgit_icon_font_css.w3mi.xml Offline icons (#2454) 2019-03-06 00:49:04 -08:00
zabapgit_icon_font.w3mi.data.woff Offline icons (#2454) 2019-03-06 00:49:04 -08:00
zabapgit_icon_font.w3mi.xml Offline icons (#2454) 2019-03-06 00:49:04 -08:00
zabapgit_js_common.w3mi.data.js ui: add a workaround for JavaGUI dyn form bug (#2873) 2019-08-21 22:18:45 -07:00
zabapgit_js_common.w3mi.xml move js and css to UI 2019-01-13 07:23:07 +01:00
zcl_abapgit_exception_viewer.clas.abap Improve error information - HTML error message (#2775) 2019-07-28 03:46:53 -07:00
zcl_abapgit_exception_viewer.clas.xml Improve error information - HTML error message (#2775) 2019-07-28 03:46:53 -07:00
zcl_abapgit_frontend_services.clas.abap Better error message 2019-07-30 03:05:39 -07:00
zcl_abapgit_frontend_services.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_chunk_lib.clas.abap Improve error information - follow up Part 3 (#2837) 2019-08-05 01:57:30 -07:00
zcl_abapgit_gui_chunk_lib.clas.testclasses.abap Improve error information - follow up Part 3 (#2837) 2019-08-05 01:57:30 -07:00
zcl_abapgit_gui_chunk_lib.clas.xml Improve error information - follow up Part 3 (#2837) 2019-08-05 01:57:30 -07:00
zcl_abapgit_gui_functions.clas.abap warning when SAPGUI for Java is used (#2841) 2019-08-05 02:02:42 -07:00
zcl_abapgit_gui_functions.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_bkg_run.clas.abap GUI remove zif_abapgit_gui_page (#2582) 2019-03-28 23:08:04 -07:00
zcl_abapgit_gui_page_bkg_run.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_bkg.clas.abap remove double spaces (#2770) 2019-07-02 20:54:35 -07:00
zcl_abapgit_gui_page_bkg.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_boverview.clas.abap remove double spaces (#2770) 2019-07-02 20:54:35 -07:00
zcl_abapgit_gui_page_boverview.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_code_insp.clas.abap Hotkeys no longer depend on abapGit installation #2629 (#2633) 2019-04-19 00:21:36 -07:00
zcl_abapgit_gui_page_code_insp.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_codi_base.clas.abap remove double spaces (#2770) 2019-07-02 20:54:35 -07:00
zcl_abapgit_gui_page_codi_base.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_commit.clas.abap remove double spaces (#2770) 2019-07-02 20:54:35 -07:00
zcl_abapgit_gui_page_commit.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_debuginfo.clas.abap Removed the rest of endmethod/endclass comments 2018-10-18 07:27:27 +02:00
zcl_abapgit_gui_page_debuginfo.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_diff.clas.abap Patch: Disable unified view (#2836) 2019-08-03 04:34:49 -07:00
zcl_abapgit_gui_page_diff.clas.testclasses.abap Patch: replace links with checkboxes #2673 (#2684) 2019-05-20 08:44:49 -07:00
zcl_abapgit_gui_page_diff.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_explore.clas.abap Removed the rest of endmethod/endclass comments 2018-10-18 07:27:27 +02:00
zcl_abapgit_gui_page_explore.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_main.clas.abap tutorial is just a view, no need to implement intf (#2823) 2019-08-01 03:17:59 -07:00
zcl_abapgit_gui_page_main.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_merge_res.clas.abap Refactoring types (#2785) 2019-07-15 09:33:37 -07:00
zcl_abapgit_gui_page_merge_res.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_merge.clas.abap remove double spaces (#2770) 2019-07-02 20:54:35 -07:00
zcl_abapgit_gui_page_merge.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_repo_over.clas.abap remove double spaces (#2770) 2019-07-02 20:54:35 -07:00
zcl_abapgit_gui_page_repo_over.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_repo_sett.clas.abap Refactoring of ZCL_ABAPGIT_ENVIRONMENT (#2826) 2019-08-01 02:49:59 -07:00
zcl_abapgit_gui_page_repo_sett.clas.locals_imp.abap Fix #2171 - removed dependency on field order (#2226) 2018-12-26 06:36:16 +01:00
zcl_abapgit_gui_page_repo_sett.clas.testclasses.abap Cleanup (#2361) 2019-02-04 23:08:29 -08:00
zcl_abapgit_gui_page_repo_sett.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_settings.clas.abap Completely dynamic JS hints (#2825) 2019-08-02 07:45:27 -07:00
zcl_abapgit_gui_page_settings.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_stage.clas.abap ui: add a workaround for JavaGUI dyn form bug (#2873) 2019-08-21 22:18:45 -07:00
zcl_abapgit_gui_page_stage.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_syntax.clas.abap syntax page "no errors" more neat 2019-04-22 22:45:59 -07:00
zcl_abapgit_gui_page_syntax.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page_tag.clas.abap Refactoring types (#2785) 2019-07-15 09:33:37 -07:00
zcl_abapgit_gui_page_tag.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_page.clas.abap ui: add a workaround for JavaGUI dyn form bug (#2873) 2019-08-21 22:18:45 -07:00
zcl_abapgit_gui_page.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_router.clas.abap Improve error information - HTML error message (#2775) 2019-07-28 03:46:53 -07:00
zcl_abapgit_gui_router.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_view_repo.clas.abap Improve error information - HTML error message (#2775) 2019-07-28 03:46:53 -07:00
zcl_abapgit_gui_view_repo.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_gui_view_tutorial.clas.abap tutorial is just a view, no need to implement intf (#2823) 2019-08-01 03:17:59 -07:00
zcl_abapgit_gui_view_tutorial.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_hotkeys.clas.abap Refactoring of ZCL_ABAPGIT_ENVIRONMENT (#2826) 2019-08-01 02:49:59 -07:00
zcl_abapgit_hotkeys.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_html_action_utils.clas.abap decode object name #2504 (#2507) 2019-03-14 00:21:02 -07:00
zcl_abapgit_html_action_utils.clas.testclasses.abap Move methods to private (#2416) 2019-02-18 05:27:49 -08:00
zcl_abapgit_html_action_utils.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_html_toolbar.clas.abap GUI CORE, move constants (#2526) 2019-03-15 02:22:08 -07:00
zcl_abapgit_html_toolbar.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_log_viewer.clas.abap Log viewer: Add more exception information + actions (#2832) 2019-08-03 04:29:32 -07:00
zcl_abapgit_log_viewer.clas.xml ZIF_ABAPGIT_LOG: extend and move UI methods to new class (#2694) 2019-05-26 03:16:03 -07:00
zcl_abapgit_password_dialog.clas.abap Allow access to private repos when using ADT (#2635) 2019-04-19 00:20:54 -07:00
zcl_abapgit_password_dialog.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_popups.clas.abap Refactoring types (#2785) 2019-07-15 09:33:37 -07:00
zcl_abapgit_popups.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_services_abapgit.clas.abap warning when SAPGUI for Java is used (#2841) 2019-08-05 02:02:42 -07:00
zcl_abapgit_services_abapgit.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_services_git.clas.abap Refactoring types (#2785) 2019-07-15 09:33:37 -07:00
zcl_abapgit_services_git.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_services_repo.clas.abap Refactoring types (#2785) 2019-07-15 09:33:37 -07:00
zcl_abapgit_services_repo.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_tag_popups.clas.abap rename zcl_abapgit_tag to zcl_abapgit_git_tag 2019-02-26 21:29:41 -08:00
zcl_abapgit_tag_popups.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_ui_factory.clas.abap UI Dark Theme #2610 (#2787) 2019-08-01 00:57:30 -07:00
zcl_abapgit_ui_factory.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zcl_abapgit_ui_injector.clas.abap add factory for GUI_IS_AVAILABLE 2018-11-03 08:42:32 +01:00
zcl_abapgit_ui_injector.clas.testclasses.abap align test class naming #2210 2018-12-20 09:21:11 +01:00
zcl_abapgit_ui_injector.clas.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zif_abapgit_frontend_services.intf.abap move ZCL_ABAPGIT_FRONTEND_SERVICES to UI (#2516) 2019-03-14 01:34:19 -07:00
zif_abapgit_frontend_services.intf.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zif_abapgit_gui_page_hotkey.intf.abap Hotkeys no longer depend on abapGit installation #2629 (#2633) 2019-04-19 00:21:36 -07:00
zif_abapgit_gui_page_hotkey.intf.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zif_abapgit_popups.intf.abap Refactoring types (#2785) 2019-07-15 09:33:37 -07:00
zif_abapgit_popups.intf.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00
zif_abapgit_tag_popups.intf.abap tag popups dependency injection 2018-06-25 11:15:46 +02:00
zif_abapgit_tag_popups.intf.xml File format update collection (#2605) 2019-03-31 01:17:46 -07:00