jsf.js_next_gen 1.0.0-beta-20 → 4.0.0-RC.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mocharc.json +2 -1
- package/.nyc_output/2303b649-59d9-485c-9228-73b0ec8787a7.json +1 -0
- package/.nyc_output/756f2f03-c85b-4cdb-9b92-5799eb45ef1e.json +1 -0
- package/.nyc_output/processinfo/2303b649-59d9-485c-9228-73b0ec8787a7.json +1 -0
- package/.nyc_output/processinfo/756f2f03-c85b-4cdb-9b92-5799eb45ef1e.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -0
- package/.nycrc +2 -1
- package/README.md +78 -24
- package/dist/docs/assets/highlight.css +21 -0
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/assets/style.css +34 -2
- package/dist/docs/functions/{jsf.ajax.addOnError.html → faces.ajax.addOnError.html} +15 -13
- package/dist/docs/functions/{jsf.ajax.addOnEvent.html → faces.ajax.addOnEvent.html} +15 -13
- package/dist/docs/functions/{jsf.ajax.request.html → faces.ajax.request.html} +15 -13
- package/dist/docs/functions/{jsf.ajax.response.html → faces.ajax.response.html} +15 -13
- package/dist/docs/functions/{jsf.getClientWindow.html → faces.getClientWindow.html} +17 -14
- package/dist/docs/functions/{jsf.getProjectStage.html → faces.getProjectStage.html} +18 -15
- package/dist/docs/functions/{jsf.getViewState.html → faces.getViewState.html} +18 -15
- package/dist/docs/functions/{jsf.push.close.html → faces.push.close.html} +15 -13
- package/dist/docs/functions/{jsf.push.init.html → faces.push.init.html} +29 -19
- package/dist/docs/functions/{jsf.push.open.html → faces.push.open.html} +15 -13
- package/dist/docs/functions/{jsf.util.chain.html → faces.util.chain.html} +12 -10
- package/dist/docs/functions/myfaces.ab.html +10 -8
- package/dist/docs/index.html +71 -29
- package/dist/docs/modules/{jsf.ajax.html → faces.ajax.html} +18 -16
- package/dist/docs/modules/faces.html +75 -0
- package/dist/docs/modules/{jsf.push.html → faces.push.html} +16 -14
- package/dist/docs/modules/{jsf.util.html → faces.util.html} +12 -10
- package/dist/docs/modules/myfaces.html +8 -6
- package/dist/docs/modules.html +9 -7
- package/dist/docs/variables/faces.contextpath.html +57 -0
- package/dist/docs/variables/{jsf.implversion.html → faces.implversion.html} +17 -14
- package/dist/docs/variables/{jsf.separatorchar.html → faces.separatorchar.html} +18 -15
- package/dist/docs/variables/faces.specversion.html +64 -0
- package/dist/docs/variables/myfaces.oam.html +8 -6
- package/dist/window/faces-development.js +7688 -0
- package/dist/window/faces-development.js.br +0 -0
- package/dist/window/faces-development.js.gz +0 -0
- package/dist/window/faces-development.js.map +1 -0
- package/dist/window/faces.js +3 -0
- package/dist/window/faces.js.LICENSE.txt +87 -0
- package/dist/window/faces.js.br +0 -0
- package/dist/window/faces.js.gz +0 -0
- package/dist/window/faces.js.map +1 -0
- package/dist/window/jsf-development.js +3011 -2963
- package/dist/window/jsf-development.js.br +0 -0
- package/dist/window/jsf-development.js.gz +0 -0
- package/dist/window/jsf-development.js.map +1 -1
- package/dist/window/jsf.js +2 -1
- package/dist/window/jsf.js.LICENSE.txt +87 -0
- package/dist/window/jsf.js.br +0 -0
- package/dist/window/jsf.js.gz +0 -0
- package/dist/window/jsf.js.map +1 -1
- package/package.json +12 -12
- package/pom.xml +14 -0
- package/src/main/java/com/example/jsfs_js_ts/DecoratedFacesJS.java +94 -0
- package/src/main/java/com/example/jsfs_js_ts/DecoratingResourceHandlerWrapper.java +54 -0
- package/src/main/java/com/example/jsfs_js_ts/FacesJSMapFileResourceWrapper.java +57 -0
- package/src/main/java/com/example/jsfs_js_ts/FacesJSMappingDecorator.java +138 -0
- package/src/main/typescript/@types/definitions/index.d.ts +147 -0
- package/src/main/typescript/api/{Jsf.ts → _api.ts} +61 -49
- package/src/main/typescript/api/faces.ts +44 -0
- package/src/main/typescript/api/jsf.ts +43 -0
- package/src/main/typescript/impl/AjaxImpl.ts +39 -42
- package/src/main/typescript/impl/PushImpl.ts +27 -30
- package/src/main/typescript/impl/core/Const.ts +38 -16
- package/src/main/typescript/impl/core/ImplTypes.ts +1 -1
- package/src/main/typescript/impl/i18n/Messages.ts +2 -2
- package/src/main/typescript/impl/util/Assertions.ts +3 -3
- package/src/main/typescript/impl/util/AsyncQueue.ts +1 -1
- package/src/main/typescript/impl/util/AsyncRunnable.ts +5 -5
- package/src/main/typescript/impl/util/ExtDomQuery.ts +200 -48
- package/src/main/typescript/impl/util/IListener.ts +1 -1
- package/src/main/typescript/impl/util/Lang.ts +25 -25
- package/src/main/typescript/impl/xhrCore/ErrorData.ts +2 -3
- package/src/main/typescript/impl/xhrCore/EventData.ts +4 -3
- package/src/main/typescript/impl/xhrCore/IResponseProcessor.ts +19 -11
- package/src/main/typescript/impl/xhrCore/RequestDataResolver.ts +15 -14
- package/src/main/typescript/impl/xhrCore/ResonseDataResolver.ts +15 -11
- package/src/main/typescript/impl/xhrCore/Response.ts +30 -24
- package/src/main/typescript/impl/xhrCore/ResponseProcessor.ts +69 -49
- package/src/main/typescript/impl/xhrCore/XhrFormData.ts +9 -7
- package/src/main/typescript/impl/xhrCore/XhrRequest.ts +76 -60
- package/src/main/typescript/myfaces/OamSubmit.ts +12 -15
- package/src/main/typescript/test/frameworkBase/_ext/monadish/DomQueryTest.spec.ts +277 -65
- package/src/main/typescript/test/frameworkBase/_ext/monadish/LangTest.spec.ts +1 -1
- package/src/main/typescript/test/frameworkBase/_ext/monadish/MappingProbes.ts +1 -1
- package/src/main/typescript/test/frameworkBase/_ext/monadish/MappingTest.spec.ts +1 -1
- package/src/main/typescript/test/frameworkBase/_ext/monadish/MonadTest.spec.ts +1 -1
- package/src/main/typescript/test/frameworkBase/_ext/monadish/StreamTest.spec.ts +1 -1
- package/src/main/typescript/test/frameworkBase/_ext/monadish/fixtures/test.js +1 -0
- package/src/main/typescript/test/frameworkBase/_ext/monadish/fixtures/test2.js +1 -0
- package/src/main/typescript/test/frameworkBase/_ext/shared/StandardInits.ts +75 -30
- package/src/main/typescript/test/frameworkBase/_ext/shared/XmlResponses.ts +44 -4
- package/src/main/typescript/test/impl/ImplTest.spec.ts +18 -22
- package/src/main/typescript/test/impl/ImplTest_23.spec.ts +129 -0
- package/src/main/typescript/test/impl/SeparatorCharsTest.spec.ts +7 -6
- package/src/main/typescript/test/myfaces/OamSubmit.spec.ts +15 -24
- package/src/main/typescript/test/queue/AsynchronousProbe.ts +1 -1
- package/src/main/typescript/test/queue/AsynchronousQueueTest.spec.ts +4 -4
- package/src/main/typescript/test/xhrCore/EventTests.spec.ts +15 -23
- package/src/main/typescript/test/xhrCore/FakeWebsocket.ts +3 -3
- package/src/main/typescript/test/xhrCore/FileUploadTest.spec.ts +7 -32
- package/src/main/typescript/test/xhrCore/RequestParamsTest.spec.ts +16 -37
- package/src/main/typescript/test/xhrCore/RequestTest.spec.ts +17 -16
- package/src/main/typescript/test/xhrCore/RequestTest_23.spec.ts +364 -0
- package/src/main/typescript/test/xhrCore/ResponseTest.spec.ts +102 -47
- package/src/main/typescript/test/xhrCore/ResponseTest23.spec.ts +362 -0
- package/src/main/typescript/test/xhrCore/ShadowDomTest.spec.ts +6 -9
- package/src/main/typescript/test/xhrCore/WebsocketTest.ts +15 -15
- package/src/main/typescript/test/xhrCore/XhrFormDataTest.spec.ts +3 -3
- package/{target/main/typescript/impl/util/AsyncRunnable.js → src/main/typescript/test/xhrCore/fixtures/addedViewHead1.js} +4 -6
- package/src/main/typescript/test/xhrCore/fixtures/addedViewHead2.css +18 -0
- package/src/main/typescript/test/xhrCore/fixtures/addedViewHead2.js +16 -0
- package/src/main/typescript/test/xhrCore/fixtures/addedViewHead3.js +16 -0
- package/src/main/typescript/test/xhrCore/fixtures/nonce_script.js +16 -0
- package/src/main/typescript/tsconfig-typedoc.json +17 -1
- package/src/main/typescript/tsconfig.json +23 -5
- package/src/test/resources/jsf-development.js +1 -1
- package/src/test.html +75 -0
- package/src/tmp/test.html +92 -0
- package/target/api/{Jsf.js → _api.js} +68 -70
- package/target/api/_api.js.map +1 -0
- package/target/api/faces.js +45 -0
- package/target/api/faces.js.map +1 -0
- package/target/api/jsf.js +45 -0
- package/target/api/jsf.js.map +1 -0
- package/target/classes/com/example/jsfs_js_ts/DecoratedFacesJS.class +0 -0
- package/target/classes/com/example/jsfs_js_ts/DecoratingResourceHandlerWrapper.class +0 -0
- package/target/classes/com/example/jsfs_js_ts/FacesJSMapFileResourceWrapper.class +0 -0
- package/target/classes/com/example/jsfs_js_ts/FacesJSMappingDecorator.class +0 -0
- package/target/impl/AjaxImpl.js +85 -93
- package/target/impl/AjaxImpl.js.map +1 -1
- package/target/impl/PushImpl.js +63 -64
- package/target/impl/PushImpl.js.map +1 -1
- package/target/impl/core/Const.js +38 -19
- package/target/impl/core/Const.js.map +1 -1
- package/target/impl/core/ImplTypes.js +10 -15
- package/target/impl/core/ImplTypes.js.map +1 -1
- package/target/impl/i18n/Messages.js +5 -6
- package/target/impl/i18n/Messages.js.map +1 -1
- package/target/impl/util/Assertions.js +12 -21
- package/target/impl/util/Assertions.js.map +1 -1
- package/target/impl/util/AsyncQueue.js +28 -36
- package/target/impl/util/AsyncQueue.js.map +1 -1
- package/target/impl/util/AsyncRunnable.js +1 -1
- package/target/impl/util/ExtDomQuery.js +235 -138
- package/target/impl/util/ExtDomQuery.js.map +1 -1
- package/target/impl/util/Lang.js +43 -50
- package/target/impl/util/Lang.js.map +1 -1
- package/target/impl/xhrCore/ErrorData.js +37 -62
- package/target/impl/xhrCore/ErrorData.js.map +1 -1
- package/target/impl/xhrCore/EventData.js +12 -14
- package/target/impl/xhrCore/EventData.js.map +1 -1
- package/target/impl/xhrCore/RequestDataResolver.js +27 -29
- package/target/impl/xhrCore/RequestDataResolver.js.map +1 -1
- package/target/impl/xhrCore/ResonseDataResolver.js +25 -23
- package/target/impl/xhrCore/ResonseDataResolver.js.map +1 -1
- package/target/impl/xhrCore/Response.js +40 -36
- package/target/impl/xhrCore/Response.js.map +1 -1
- package/target/impl/xhrCore/ResponseProcessor.js +165 -167
- package/target/impl/xhrCore/ResponseProcessor.js.map +1 -1
- package/target/impl/xhrCore/XhrFormData.js +75 -103
- package/target/impl/xhrCore/XhrFormData.js.map +1 -1
- package/target/impl/xhrCore/XhrRequest.js +160 -145
- package/target/impl/xhrCore/XhrRequest.js.map +1 -1
- package/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
- package/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
- package/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst +1 -0
- package/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +1 -0
- package/target/myfaces/OamSubmit.js +32 -20
- package/target/myfaces/OamSubmit.js.map +1 -1
- package/target/surefire-reports/TEST-com.example.jsfs_js_ts.JsfsJsTsApplicationTests.xml +78 -0
- package/target/surefire-reports/com.example.jsfs_js_ts.JsfsJsTsApplicationTests.txt +7 -0
- package/target/test/frameworkBase/LangTest.spec.js +46 -32
- package/target/test/frameworkBase/LangTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js +372 -134
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js +46 -32
- package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/MappingProbes.js +25 -34
- package/target/test/frameworkBase/_ext/monadish/MappingProbes.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/MappingTest.spec.js +9 -9
- package/target/test/frameworkBase/_ext/monadish/MappingTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js +32 -32
- package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js +51 -49
- package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/shared/StandardInits.js +277 -124
- package/target/test/frameworkBase/_ext/shared/StandardInits.js.map +1 -1
- package/target/test/frameworkBase/_ext/shared/XmlResponses.js +199 -18
- package/target/test/frameworkBase/_ext/shared/XmlResponses.js.map +1 -1
- package/target/test/impl/ImplTest.spec.js +45 -33
- package/target/test/impl/ImplTest.spec.js.map +1 -1
- package/target/test/impl/ImplTest_23.spec.js +133 -0
- package/target/test/impl/ImplTest_23.spec.js.map +1 -0
- package/target/test/impl/SeparatorCharsTest.spec.js +22 -20
- package/target/test/impl/SeparatorCharsTest.spec.js.map +1 -1
- package/target/test/myfaces/OamSubmit.spec.js +35 -42
- package/target/test/myfaces/OamSubmit.spec.js.map +1 -1
- package/target/test/queue/AsynchronousProbe.js +24 -30
- package/target/test/queue/AsynchronousProbe.js.map +1 -1
- package/target/test/queue/AsynchronousQueueTest.spec.js +40 -71
- package/target/test/queue/AsynchronousQueueTest.spec.js.map +1 -1
- package/target/test/xhrCore/EventTests.spec.js +47 -83
- package/target/test/xhrCore/EventTests.spec.js.map +1 -1
- package/target/test/xhrCore/FakeWebsocket.js +15 -17
- package/target/test/xhrCore/FakeWebsocket.js.map +1 -1
- package/target/test/xhrCore/FileUploadTest.spec.js +50 -91
- package/target/test/xhrCore/FileUploadTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestParamsTest.spec.js +49 -98
- package/target/test/xhrCore/RequestParamsTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestTest.spec.js +84 -120
- package/target/test/xhrCore/RequestTest.spec.js.map +1 -1
- package/target/test/{typescript/xhrCore/RequestTest.js → xhrCore/RequestTest_23.spec.js} +142 -127
- package/target/test/xhrCore/RequestTest_23.spec.js.map +1 -0
- package/target/test/xhrCore/ResponseTest.spec.js +183 -105
- package/target/test/xhrCore/ResponseTest.spec.js.map +1 -1
- package/target/test/xhrCore/ResponseTest23.spec.js +312 -0
- package/target/test/xhrCore/ResponseTest23.spec.js.map +1 -0
- package/target/test/xhrCore/ShadowDomTest.spec.js +33 -66
- package/target/test/xhrCore/ShadowDomTest.spec.js.map +1 -1
- package/target/test/xhrCore/WebsocketTest.js +64 -97
- package/target/test/xhrCore/WebsocketTest.js.map +1 -1
- package/target/test/xhrCore/XhrFormDataTest.spec.js +42 -16
- package/target/test/xhrCore/XhrFormDataTest.spec.js.map +1 -1
- package/target/test-classes/jsf-development.js +452 -3674
- package/target/test-classes/jsf.js +1 -1
- package/target/test-classes/jsf.js.br +0 -0
- package/target/test-classes/jsf.js.gz +0 -0
- package/webpack.config.js +7 -4
- package/webpack.config.js.map +1 -1
- package/webpack.config.ts +23 -4
- package/dist/docs/modules/jsf.html +0 -71
- package/dist/docs/variables/jsf.specversion.html +0 -52
- package/integrationdeploy.cmd +0 -4
- package/integrationsdeploy.sh +0 -5
- package/remap.js +0 -44
- package/remap.js.map +0 -1
- package/src/main/java/com/example/jsfs_js_ts/JsfsJsTsApplication.java +0 -12
- package/src/main/types/typedefs.d.ts +0 -66
- package/target/api/Jsf.js.map +0 -1
- package/target/classes/com/example/jsfs_js_ts/JsfsJsTsApplication.class +0 -0
- package/target/impl/util/ListenerQueue.js +0 -3
- package/target/impl/util/ListenerQueue.js.map +0 -1
- package/target/main/typescript/api/Jsf.js +0 -258
- package/target/main/typescript/api/Jsf.js.map +0 -1
- package/target/main/typescript/impl/AjaxImpl.js +0 -569
- package/target/main/typescript/impl/AjaxImpl.js.map +0 -1
- package/target/main/typescript/impl/PushImpl.js +0 -215
- package/target/main/typescript/impl/PushImpl.js.map +0 -1
- package/target/main/typescript/impl/core/Const.js +0 -135
- package/target/main/typescript/impl/core/Const.js.map +0 -1
- package/target/main/typescript/impl/core/ImplTypes.js +0 -43
- package/target/main/typescript/impl/core/ImplTypes.js.map +0 -1
- package/target/main/typescript/impl/i18n/Messages.js +0 -114
- package/target/main/typescript/impl/i18n/Messages.js.map +0 -1
- package/target/main/typescript/impl/util/Assertions.js +0 -90
- package/target/main/typescript/impl/util/Assertions.js.map +0 -1
- package/target/main/typescript/impl/util/AsyncQueue.js +0 -104
- package/target/main/typescript/impl/util/AsyncQueue.js.map +0 -1
- package/target/main/typescript/impl/util/AsyncRunnable.js.map +0 -1
- package/target/main/typescript/impl/util/ExtDomQuery.js +0 -129
- package/target/main/typescript/impl/util/ExtDomQuery.js.map +0 -1
- package/target/main/typescript/impl/util/Lang.js +0 -215
- package/target/main/typescript/impl/util/Lang.js.map +0 -1
- package/target/main/typescript/impl/util/ListenerQueue.js +0 -3
- package/target/main/typescript/impl/util/ListenerQueue.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/ErrorData.js +0 -89
- package/target/main/typescript/impl/xhrCore/ErrorData.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/EventData.js +0 -30
- package/target/main/typescript/impl/xhrCore/EventData.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/IResponseProcessor.js +0 -3
- package/target/main/typescript/impl/xhrCore/IResponseProcessor.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/RequestDataResolver.js +0 -143
- package/target/main/typescript/impl/xhrCore/RequestDataResolver.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/ResonseDataResolver.js +0 -103
- package/target/main/typescript/impl/xhrCore/ResonseDataResolver.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/Response.js +0 -167
- package/target/main/typescript/impl/xhrCore/Response.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/ResponseProcessor.js +0 -368
- package/target/main/typescript/impl/xhrCore/ResponseProcessor.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/XhrFormData.js +0 -272
- package/target/main/typescript/impl/xhrCore/XhrFormData.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/XhrRequest.js +0 -281
- package/target/main/typescript/impl/xhrCore/XhrRequest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.js +0 -293
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/LangTest.js +0 -89
- package/target/test/frameworkBase/_ext/monadish/LangTest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/MappingTest.js +0 -39
- package/target/test/frameworkBase/_ext/monadish/MappingTest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/MonadTest.js +0 -155
- package/target/test/frameworkBase/_ext/monadish/MonadTest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/StreamTest.js +0 -176
- package/target/test/frameworkBase/_ext/monadish/StreamTest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/XmlQueryTest.js +0 -1
- package/target/test/frameworkBase/_ext/monadish/XmlQueryTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/LangTest.js +0 -112
- package/target/test/typescript/frameworkBase/LangTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/DomQueryTest.js +0 -293
- package/target/test/typescript/frameworkBase/_ext/monadish/DomQueryTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/LangTest.js +0 -89
- package/target/test/typescript/frameworkBase/_ext/monadish/LangTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/MappingProbes.js +0 -115
- package/target/test/typescript/frameworkBase/_ext/monadish/MappingProbes.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/MappingTest.js +0 -39
- package/target/test/typescript/frameworkBase/_ext/monadish/MappingTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/MonadTest.js +0 -155
- package/target/test/typescript/frameworkBase/_ext/monadish/MonadTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/StreamTest.js +0 -176
- package/target/test/typescript/frameworkBase/_ext/monadish/StreamTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/XmlQueryTest.js +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/XmlQueryTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/shared/StandardInits.js +0 -264
- package/target/test/typescript/frameworkBase/_ext/shared/StandardInits.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/shared/XmlResponses.js +0 -23
- package/target/test/typescript/frameworkBase/_ext/shared/XmlResponses.js.map +0 -1
- package/target/test/typescript/impl/ImplTest.js +0 -98
- package/target/test/typescript/impl/ImplTest.js.map +0 -1
- package/target/test/typescript/impl/SeparatorCharsTest.js +0 -72
- package/target/test/typescript/impl/SeparatorCharsTest.js.map +0 -1
- package/target/test/typescript/queue/AsynchronousProbe.js +0 -99
- package/target/test/typescript/queue/AsynchronousProbe.js.map +0 -1
- package/target/test/typescript/queue/AsynchronousQueueTest.js +0 -130
- package/target/test/typescript/queue/AsynchronousQueueTest.js.map +0 -1
- package/target/test/typescript/xhrCore/EventTests.js +0 -155
- package/target/test/typescript/xhrCore/EventTests.js.map +0 -1
- package/target/test/typescript/xhrCore/FakeWebsocket.js +0 -25
- package/target/test/typescript/xhrCore/FakeWebsocket.js.map +0 -1
- package/target/test/typescript/xhrCore/FileUploadTest.js +0 -166
- package/target/test/typescript/xhrCore/FileUploadTest.js.map +0 -1
- package/target/test/typescript/xhrCore/RequestParamsTest.js +0 -151
- package/target/test/typescript/xhrCore/RequestParamsTest.js.map +0 -1
- package/target/test/typescript/xhrCore/RequestTest.js.map +0 -1
- package/target/test/typescript/xhrCore/ResponseTest.js +0 -257
- package/target/test/typescript/xhrCore/ResponseTest.js.map +0 -1
- package/target/test/typescript/xhrCore/ShadowDomTest.js +0 -122
- package/target/test/typescript/xhrCore/ShadowDomTest.js.map +0 -1
- package/target/test/typescript/xhrCore/WebsocketTest.js +0 -182
- package/target/test/typescript/xhrCore/WebsocketTest.js.map +0 -1
- package/target/test/typescript/xhrCore/XhrFormDataTest.js +0 -58
- package/target/test/typescript/xhrCore/XhrFormDataTest.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":46566,"argv":["/Users/werpu2/.nvm/versions/node/v16.17.0/bin/node","/Users/werpu2/development/workspace/jsfs_js_ts/node_modules/mocha/bin/mocha.js","--ui","bdd","--reporter","/Applications/IntelliJ IDEA.app/Contents/plugins/NodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js","*/test/**/*_23.spec.ts"],"execArgv":[],"cwd":"/Users/werpu2/development/workspace/jsfs_js_ts","time":1664199230891,"ppid":46564,"coverageFilename":"/Users/werpu2/development/workspace/jsfs_js_ts/.nyc_output/2303b649-59d9-485c-9228-73b0ec8787a7.json","externalId":"","uuid":"2303b649-59d9-485c-9228-73b0ec8787a7","files":["/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/ExtDomQuery.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/core/Const.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/Lang.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/i18n/Messages.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/RequestDataResolver.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/myfaces/OamSubmit.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/AsyncQueue.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/AjaxImpl.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/Response.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/ResponseProcessor.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/Assertions.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/ErrorData.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/EventData.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/core/ImplTypes.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/ResonseDataResolver.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/XhrRequest.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/XhrFormData.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/api/faces.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/PushImpl.ts"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":46564,"argv":["/Users/werpu2/.nvm/versions/node/v16.17.0/bin/node","/Users/werpu2/development/workspace/jsfs_js_ts/node_modules/nyc/bin/nyc.js","--reporter=lcovonly","--report-dir","/private/var/folders/8n/_lr2tnb92750c0xdpq8k0rb00000gp/T/mocha-intellij-coverage-","/Users/werpu2/development/workspace/jsfs_js_ts/node_modules/mocha/bin/mocha.js","--ui","bdd","--reporter","/Applications/IntelliJ IDEA.app/Contents/plugins/NodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js","*/test/**/*_23.spec.ts"],"execArgv":[],"cwd":"/Users/werpu2/development/workspace/jsfs_js_ts","time":1664199230059,"ppid":34236,"coverageFilename":"/Users/werpu2/development/workspace/jsfs_js_ts/.nyc_output/756f2f03-c85b-4cdb-9b92-5799eb45ef1e.json","externalId":"","uuid":"756f2f03-c85b-4cdb-9b92-5799eb45ef1e","files":["/Users/werpu2/development/workspace/jsfs_js_ts/remap.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/types/typedefs.d.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/api/faces.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/api/jsf.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/AjaxImpl.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/core/Const.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/core/ImplTypes.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/i18n/Messages.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/PushImpl.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/Assertions.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/AsyncQueue.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/AsyncRunnable.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/ExtDomQuery.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/IListener.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/Lang.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/ErrorData.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/EventData.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/IResponseProcessor.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/RequestDataResolver.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/ResonseDataResolver.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/Response.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/ResponseProcessor.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/XhrFormData.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/XhrRequest.ts","/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/myfaces/OamSubmit.ts"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"processes":{"2303b649-59d9-485c-9228-73b0ec8787a7":{"parent":null,"children":[]},"756f2f03-c85b-4cdb-9b92-5799eb45ef1e":{"parent":null,"children":[]}},"files":{"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/ExtDomQuery.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/core/Const.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/Lang.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/i18n/Messages.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/RequestDataResolver.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/myfaces/OamSubmit.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/AsyncQueue.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/AjaxImpl.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/Response.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/ResponseProcessor.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/Assertions.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/ErrorData.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/EventData.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/core/ImplTypes.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/ResonseDataResolver.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/XhrRequest.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/XhrFormData.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/api/faces.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/PushImpl.ts":["2303b649-59d9-485c-9228-73b0ec8787a7","756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/remap.ts":["756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/types/typedefs.d.ts":["756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/api/jsf.ts":["756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/AsyncRunnable.ts":["756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/util/IListener.ts":["756f2f03-c85b-4cdb-9b92-5799eb45ef1e"],"/Users/werpu2/development/workspace/jsfs_js_ts/src/main/typescript/impl/xhrCore/IResponseProcessor.ts":["756f2f03-c85b-4cdb-9b92-5799eb45ef1e"]},"externalIds":{}}
|
package/.nycrc
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extends": "@istanbuljs/nyc-config-typescript",
|
|
3
3
|
"all": true,
|
|
4
|
-
"exclude": ["**/test/**/*.*","**/*.config.*", "**/Messages_*.*","**/*Probe*.*", "**/*.js"]
|
|
4
|
+
"exclude": ["**/test/**/*.*","**/*.config.*", "**/Messages_*.*","**/*Probe*.*", "**/*.js"],
|
|
5
|
+
"license": "Apache-2.0"
|
|
5
6
|
}
|
package/README.md
CHANGED
|
@@ -3,47 +3,79 @@
|
|
|
3
3
|
## What is this?
|
|
4
4
|
|
|
5
5
|
This project is a work in progress for a next gen typescript based
|
|
6
|
-
reimplementation of jsf.js
|
|
6
|
+
reimplementation of jsf.js/faces.js
|
|
7
7
|
|
|
8
8
|
The main goal is maintainability. It omits legacy browsers
|
|
9
|
-
with
|
|
9
|
+
with Edge 14 and Ecmascript 2015 being the browser and ES baseline for the moment.
|
|
10
10
|
|
|
11
11
|
It uses functional constructs on micro scale
|
|
12
12
|
to keep the maintainability and uses
|
|
13
13
|
my own [mona-dish](https://github.com/werpu/mona-dish/) project as core framework base, to avoid
|
|
14
14
|
unnecessary colliding dependencies.
|
|
15
15
|
|
|
16
|
-
I might roll in MonaDish in the future
|
|
17
|
-
via npm, but for now simply having it in the codebase suffices
|
|
18
|
-
and prevents collisions with other frameworks.
|
|
19
|
-
|
|
20
16
|
But it still uses classes modules and inheritance
|
|
21
17
|
for code structuring.
|
|
22
18
|
The reason for this is, I do not like the one function for all
|
|
23
|
-
approach,
|
|
19
|
+
approach, especially given we have Typescript now as implementation language
|
|
20
|
+
which allows a proper code structuring and modularization.
|
|
21
|
+
|
|
22
|
+
Webpack can take care of the packaging.
|
|
24
23
|
|
|
25
|
-
Having smaller code parts makes it easier to test certain
|
|
24
|
+
Having smaller code parts, makes it easier to test certain
|
|
26
25
|
aspects of the implementation.
|
|
27
26
|
|
|
28
|
-
Also one additional aspect of the new implementation it has a proper
|
|
29
|
-
test coverage via unit tests.
|
|
27
|
+
Also one additional aspect of the new implementation: it has a proper
|
|
28
|
+
test coverage via Mocha based unit tests.
|
|
30
29
|
|
|
31
30
|
This was also severely lacking in my old implementation
|
|
32
31
|
where I just ran a set of 20 integration tests on macro scale.
|
|
33
32
|
|
|
34
33
|
## Status
|
|
35
34
|
|
|
36
|
-
ATM I am function
|
|
35
|
+
ATM I am function in beta bugfixing stage, and the code
|
|
37
36
|
can be tested (final beta stages)
|
|
38
|
-
I probably will make a release
|
|
37
|
+
I probably will make a release at the same time MyFaces 4.0
|
|
38
|
+
final hits the scene.
|
|
39
39
|
It has been testing in MyFaces Tobago now for a year
|
|
40
40
|
and atm is being integrated into MyFaces as new
|
|
41
|
-
JS codebase.
|
|
41
|
+
JS/TS codebase.
|
|
42
|
+
|
|
43
|
+
Addition, for the integration in MyFaces, the api level has been
|
|
44
|
+
uplifted to Jakarta Faces 4.0
|
|
45
|
+
Note, this introduces some breaking changes, jsf jas been replaced with jakarta
|
|
46
|
+
and javax has been replaced by faces
|
|
47
|
+
so javax.faces.request becomes jakarta.faces.request
|
|
48
|
+
|
|
49
|
+
Note, a shim layer for backwards compatibility has been provided
|
|
50
|
+
you simply just need to load the generated. jsf.js file which goes down to 2.3 compatibility level
|
|
51
|
+
while loading faces.js will provide 4.0 compatibility
|
|
52
|
+
|
|
53
|
+
For this reason the version now also in the npm package is 4.0.x
|
|
54
|
+
(the pre changes code can still be reached in the 2.3 branch although
|
|
55
|
+
this branch is basically legacy, given we have the SHIM layer doing both)
|
|
56
|
+
|
|
57
|
+
### Special info
|
|
58
|
+
Due to a small api change, if you want to embed the 4.0 version (faces.js)
|
|
59
|
+
in your code, a new attribute specified by the Faces 4.0 spec is not set
|
|
60
|
+
at its proper value, *contextpath*. This attribute atm is a value expression
|
|
61
|
+
which needs to be set by the loading implementation.
|
|
62
|
+
|
|
63
|
+
Now if you want to provide your own embedded solution and you will have
|
|
64
|
+
to set this value yourself. While my code does not use the attribute in the faces
|
|
65
|
+
namespace, other libraries or the users might.
|
|
66
|
+
|
|
67
|
+
If you serve the code from MyFaces 4 instead of embedding it, the value will be preset
|
|
68
|
+
by the internal resource loader.
|
|
69
|
+
|
|
70
|
+
The JSF 2.3 version (jsf.js) is not affected by this change, so nothing needs to be done.
|
|
71
|
+
In fact the *contextpath* attribute is not present there.
|
|
72
|
+
All other attributes behave the same in both versions as in the original legacy codebase.
|
|
73
|
+
|
|
42
74
|
|
|
43
75
|
|
|
44
76
|
## Usage
|
|
45
77
|
|
|
46
|
-
It still is
|
|
78
|
+
It still is code complete and in bugfixing phase, for testing purposes
|
|
47
79
|
it can be used (check the dist directory for builds, I consider
|
|
48
80
|
stable enough for testing, or your own builds)
|
|
49
81
|
|
|
@@ -91,7 +123,7 @@ so it is gone now
|
|
|
91
123
|
|
|
92
124
|
* pps disabled for the moment
|
|
93
125
|
|
|
94
|
-
|
|
126
|
+
We had a special pps handling introduced in myfaces, a feature
|
|
95
127
|
probably never used (you basically could reduce the parameters
|
|
96
128
|
sent down by sending a list of pps ids). I have disabled it for the time being.
|
|
97
129
|
The code still is in there for the moment, but will be dropped
|
|
@@ -102,30 +134,52 @@ if no demand arises to enable it again.
|
|
|
102
134
|
In order to improve the maintainability I have dropped a lot
|
|
103
135
|
of shim and legacy code which was needed to support old browsers.
|
|
104
136
|
Since our main aim is long term maintainability there is a clear cut.
|
|
105
|
-
The lowest supported browser for the moment is
|
|
106
|
-
|
|
137
|
+
The lowest supported browser for the moment is Edge 14.
|
|
138
|
+
Older browsers are now cut off. This should suffice for most, if
|
|
107
139
|
not all important environments. If you still use an older browser than
|
|
108
|
-
|
|
140
|
+
Edge 14 you still can revert to the old codebase for the time being
|
|
109
141
|
(final cutoff point probably will come within the next few years)
|
|
110
142
|
|
|
111
|
-
IE11 might be cut off in the future, depending on the business requirements
|
|
112
|
-
by the myfaces users
|
|
113
143
|
|
|
114
144
|
* performance
|
|
115
145
|
|
|
116
146
|
Given that we now have faster browsers and end user devices in the mobile
|
|
117
|
-
area than 10 years ago, my main focus was maintainability.
|
|
147
|
+
area than 10 years ago and the spec conformity has improved a lot, my main focus was maintainability.
|
|
118
148
|
Maintainability and readability now comes before performance. So I sacrificed some
|
|
119
149
|
of the performance to achieve it.
|
|
120
150
|
Given that the most critical performance hits do not happen in the ajax area
|
|
121
|
-
this is a sacrifice I can live with for the time being.
|
|
151
|
+
this is a sacrifice I can live with, for the time being.
|
|
122
152
|
|
|
123
153
|
* Client side i18n
|
|
124
154
|
|
|
125
155
|
The client side i18n error message translations have become more
|
|
126
156
|
of a liability than a feature.
|
|
127
157
|
For the time being all client side errors are reported in english.
|
|
128
|
-
I can reintroduce them, if there is
|
|
129
|
-
But the size and maintainability tradeoff compared to what they
|
|
158
|
+
I can reintroduce them, if there is real demand.
|
|
159
|
+
But the size and maintainability tradeoff, compared to what they
|
|
130
160
|
bring was not worth it to keep them anymore.
|
|
131
161
|
|
|
162
|
+
|
|
163
|
+
* Mapping file support
|
|
164
|
+
|
|
165
|
+
The original implementation had various builds to support easier debugging (split, combined, compressed)
|
|
166
|
+
|
|
167
|
+
We now have only two builds prod and development.
|
|
168
|
+
However I have introduced a mapping file support.
|
|
169
|
+
To enable this support you have to reference the FacesJSMappingDecorator unless the mapping file
|
|
170
|
+
is reachable via the normal request (mapping files are bundled).
|
|
171
|
+
This works for normal includes, but if you include the jsf.js in a resource library you have to use
|
|
172
|
+
the decorator provided.
|
|
173
|
+
|
|
174
|
+
Usage *faces-config.xml*
|
|
175
|
+
```xml
|
|
176
|
+
|
|
177
|
+
<application>
|
|
178
|
+
<resource-handler>com.example.jsfs_js_ts.FacesJSMapFileResourceWrapper</resource-handler>
|
|
179
|
+
</application>
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
This resource decorator detects automatically a faces*.js file coming from a resource library
|
|
183
|
+
and adjusts the references in the resource accordingly to the request patterns
|
|
184
|
+
|
|
185
|
+
|
|
@@ -1,22 +1,43 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
--light-hl-0: #800000;
|
|
3
|
+
--dark-hl-0: #808080;
|
|
4
|
+
--light-hl-1: #800000;
|
|
5
|
+
--dark-hl-1: #569CD6;
|
|
6
|
+
--light-hl-2: #000000;
|
|
7
|
+
--dark-hl-2: #D4D4D4;
|
|
2
8
|
--light-code-background: #FFFFFF;
|
|
3
9
|
--dark-code-background: #1E1E1E;
|
|
4
10
|
}
|
|
5
11
|
|
|
6
12
|
@media (prefers-color-scheme: light) { :root {
|
|
13
|
+
--hl-0: var(--light-hl-0);
|
|
14
|
+
--hl-1: var(--light-hl-1);
|
|
15
|
+
--hl-2: var(--light-hl-2);
|
|
7
16
|
--code-background: var(--light-code-background);
|
|
8
17
|
} }
|
|
9
18
|
|
|
10
19
|
@media (prefers-color-scheme: dark) { :root {
|
|
20
|
+
--hl-0: var(--dark-hl-0);
|
|
21
|
+
--hl-1: var(--dark-hl-1);
|
|
22
|
+
--hl-2: var(--dark-hl-2);
|
|
11
23
|
--code-background: var(--dark-code-background);
|
|
12
24
|
} }
|
|
13
25
|
|
|
14
26
|
:root[data-theme='light'] {
|
|
27
|
+
--hl-0: var(--light-hl-0);
|
|
28
|
+
--hl-1: var(--light-hl-1);
|
|
29
|
+
--hl-2: var(--light-hl-2);
|
|
15
30
|
--code-background: var(--light-code-background);
|
|
16
31
|
}
|
|
17
32
|
|
|
18
33
|
:root[data-theme='dark'] {
|
|
34
|
+
--hl-0: var(--dark-hl-0);
|
|
35
|
+
--hl-1: var(--dark-hl-1);
|
|
36
|
+
--hl-2: var(--dark-hl-2);
|
|
19
37
|
--code-background: var(--dark-code-background);
|
|
20
38
|
}
|
|
21
39
|
|
|
40
|
+
.hl-0 { color: var(--hl-0); }
|
|
41
|
+
.hl-1 { color: var(--hl-1); }
|
|
42
|
+
.hl-2 { color: var(--hl-2); }
|
|
22
43
|
pre, code { background: var(--code-background); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.searchData = JSON.parse("{\"kinds\":{\"4\":\"Namespace\",\"32\":\"Variable\",\"64\":\"Function\"},\"rows\":[{\"kind\":4,\"name\":\"
|
|
1
|
+
window.searchData = JSON.parse("{\"kinds\":{\"4\":\"Namespace\",\"32\":\"Variable\",\"64\":\"Function\"},\"rows\":[{\"kind\":4,\"name\":\"faces\",\"url\":\"modules/faces.html\",\"classes\":\"tsd-kind-namespace\"},{\"kind\":64,\"name\":\"getProjectStage\",\"url\":\"functions/faces.getProjectStage.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"getViewState\",\"url\":\"functions/faces.getViewState.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"getClientWindow\",\"url\":\"functions/faces.getClientWindow.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":32,\"name\":\"specversion\",\"url\":\"variables/faces.specversion.html\",\"classes\":\"tsd-kind-variable tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":32,\"name\":\"implversion\",\"url\":\"variables/faces.implversion.html\",\"classes\":\"tsd-kind-variable tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":32,\"name\":\"separatorchar\",\"url\":\"variables/faces.separatorchar.html\",\"classes\":\"tsd-kind-variable tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":32,\"name\":\"contextpath\",\"url\":\"variables/faces.contextpath.html\",\"classes\":\"tsd-kind-variable tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":4,\"name\":\"ajax\",\"url\":\"modules/faces.ajax.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"request\",\"url\":\"functions/faces.ajax.request.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.ajax\"},{\"kind\":64,\"name\":\"response\",\"url\":\"functions/faces.ajax.response.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.ajax\"},{\"kind\":64,\"name\":\"addOnError\",\"url\":\"functions/faces.ajax.addOnError.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.ajax\"},{\"kind\":64,\"name\":\"addOnEvent\",\"url\":\"functions/faces.ajax.addOnEvent.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.ajax\"},{\"kind\":4,\"name\":\"util\",\"url\":\"modules/faces.util.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"chain\",\"url\":\"functions/faces.util.chain.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.util\"},{\"kind\":4,\"name\":\"push\",\"url\":\"modules/faces.push.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"init\",\"url\":\"functions/faces.push.init.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.push\"},{\"kind\":64,\"name\":\"open\",\"url\":\"functions/faces.push.open.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.push\"},{\"kind\":64,\"name\":\"close\",\"url\":\"functions/faces.push.close.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.push\"},{\"kind\":4,\"name\":\"myfaces\",\"url\":\"modules/myfaces.html\",\"classes\":\"tsd-kind-namespace\"},{\"kind\":64,\"name\":\"ab\",\"url\":\"functions/myfaces.ab.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"myfaces\"},{\"kind\":32,\"name\":\"oam\",\"url\":\"variables/myfaces.oam.html\",\"classes\":\"tsd-kind-variable tsd-parent-kind-namespace\",\"parent\":\"myfaces\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,27.3]],[\"comment/0\",[]],[\"name/1\",[1,27.3]],[\"comment/1\",[]],[\"name/2\",[2,27.3]],[\"comment/2\",[]],[\"name/3\",[3,27.3]],[\"comment/3\",[]],[\"name/4\",[4,27.3]],[\"comment/4\",[]],[\"name/5\",[5,27.3]],[\"comment/5\",[]],[\"name/6\",[6,27.3]],[\"comment/6\",[]],[\"name/7\",[7,27.3]],[\"comment/7\",[]],[\"name/8\",[8,27.3]],[\"comment/8\",[]],[\"name/9\",[9,27.3]],[\"comment/9\",[]],[\"name/10\",[10,27.3]],[\"comment/10\",[]],[\"name/11\",[11,27.3]],[\"comment/11\",[]],[\"name/12\",[12,27.3]],[\"comment/12\",[]],[\"name/13\",[13,27.3]],[\"comment/13\",[]],[\"name/14\",[14,27.3]],[\"comment/14\",[]],[\"name/15\",[15,27.3]],[\"comment/15\",[]],[\"name/16\",[16,27.3]],[\"comment/16\",[]],[\"name/17\",[17,27.3]],[\"comment/17\",[]],[\"name/18\",[18,27.3]],[\"comment/18\",[]],[\"name/19\",[19,27.3]],[\"comment/19\",[]],[\"name/20\",[20,27.3]],[\"comment/20\",[]],[\"name/21\",[21,27.3]],[\"comment/21\",[]]],\"invertedIndex\":[[\"ab\",{\"_index\":20,\"name\":{\"20\":{}},\"comment\":{}}],[\"addonerror\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"addonevent\",{\"_index\":12,\"name\":{\"12\":{}},\"comment\":{}}],[\"ajax\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"chain\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"close\",{\"_index\":18,\"name\":{\"18\":{}},\"comment\":{}}],[\"contextpath\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"faces\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"getclientwindow\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"getprojectstage\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"getviewstate\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"implversion\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"init\",{\"_index\":16,\"name\":{\"16\":{}},\"comment\":{}}],[\"myfaces\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"oam\",{\"_index\":21,\"name\":{\"21\":{}},\"comment\":{}}],[\"open\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"push\",{\"_index\":15,\"name\":{\"15\":{}},\"comment\":{}}],[\"request\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"response\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"separatorchar\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"specversion\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"util\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
|
|
@@ -825,6 +825,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
|
825
825
|
padding-left: 5.5rem;
|
|
826
826
|
}
|
|
827
827
|
|
|
828
|
+
#tsd-sidebar-links a {
|
|
829
|
+
margin-top: 0;
|
|
830
|
+
margin-bottom: 0.5rem;
|
|
831
|
+
line-height: 1.25rem;
|
|
832
|
+
}
|
|
833
|
+
#tsd-sidebar-links a:last-of-type {
|
|
834
|
+
margin-bottom: 0;
|
|
835
|
+
}
|
|
836
|
+
|
|
828
837
|
a.tsd-index-link {
|
|
829
838
|
margin: 0.25rem 0;
|
|
830
839
|
font-size: 1rem;
|
|
@@ -978,7 +987,8 @@ a.tsd-index-link {
|
|
|
978
987
|
right: -40px;
|
|
979
988
|
}
|
|
980
989
|
#tsd-search .field input,
|
|
981
|
-
#tsd-search .title
|
|
990
|
+
#tsd-search .title,
|
|
991
|
+
#tsd-toolbar-links a {
|
|
982
992
|
transition: opacity 0.2s;
|
|
983
993
|
}
|
|
984
994
|
#tsd-search .results {
|
|
@@ -1022,7 +1032,8 @@ a.tsd-index-link {
|
|
|
1022
1032
|
top: 0;
|
|
1023
1033
|
opacity: 1;
|
|
1024
1034
|
}
|
|
1025
|
-
#tsd-search.has-focus .title
|
|
1035
|
+
#tsd-search.has-focus .title,
|
|
1036
|
+
#tsd-search.has-focus #tsd-toolbar-links a {
|
|
1026
1037
|
z-index: 0;
|
|
1027
1038
|
opacity: 0;
|
|
1028
1039
|
}
|
|
@@ -1036,6 +1047,22 @@ a.tsd-index-link {
|
|
|
1036
1047
|
display: block;
|
|
1037
1048
|
}
|
|
1038
1049
|
|
|
1050
|
+
#tsd-toolbar-links {
|
|
1051
|
+
position: absolute;
|
|
1052
|
+
top: 0;
|
|
1053
|
+
right: 2rem;
|
|
1054
|
+
height: 100%;
|
|
1055
|
+
display: flex;
|
|
1056
|
+
align-items: center;
|
|
1057
|
+
justify-content: flex-end;
|
|
1058
|
+
}
|
|
1059
|
+
#tsd-toolbar-links a {
|
|
1060
|
+
margin-left: 1.5rem;
|
|
1061
|
+
}
|
|
1062
|
+
#tsd-toolbar-links a:hover {
|
|
1063
|
+
text-decoration: underline;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1039
1066
|
.tsd-signature {
|
|
1040
1067
|
margin: 0 0 1rem 0;
|
|
1041
1068
|
padding: 1rem 0.5rem;
|
|
@@ -1134,6 +1161,11 @@ ul.tsd-type-parameter-list h5 {
|
|
|
1134
1161
|
.tsd-page-toolbar .table-cell:first-child {
|
|
1135
1162
|
width: 100%;
|
|
1136
1163
|
}
|
|
1164
|
+
.tsd-page-toolbar .tsd-toolbar-icon {
|
|
1165
|
+
box-sizing: border-box;
|
|
1166
|
+
line-height: 0;
|
|
1167
|
+
padding: 12px 0;
|
|
1168
|
+
}
|
|
1137
1169
|
|
|
1138
1170
|
.tsd-page-toolbar--hide {
|
|
1139
1171
|
transform: translateY(-100%);
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>addOnError | jsf.js_next_gen</title><meta name="description" content="Documentation for jsf.js_next_gen"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
-
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
5
7
|
<ul class="results">
|
|
6
8
|
<li class="state loading">Preparing search index...</li>
|
|
7
9
|
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jsf.js_next_gen</a></div>
|
|
8
|
-
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
10
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
11
|
<div class="container container-main">
|
|
10
12
|
<div class="col-8 col-content">
|
|
11
13
|
<div class="tsd-page-title">
|
|
12
14
|
<ul class="tsd-breadcrumb">
|
|
13
15
|
<li><a href="../modules.html">jsf.js_next_gen</a></li>
|
|
14
|
-
<li><a href="../modules/
|
|
15
|
-
<li><a href="../modules/
|
|
16
|
-
<li><a href="
|
|
16
|
+
<li><a href="../modules/faces.html">faces</a></li>
|
|
17
|
+
<li><a href="../modules/faces.ajax.html">ajax</a></li>
|
|
18
|
+
<li><a href="faces.ajax.addOnError.html">addOnError</a></li></ul>
|
|
17
19
|
<h1>Function addOnError</h1></div>
|
|
18
20
|
<section class="tsd-panel">
|
|
19
21
|
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
@@ -67,18 +69,18 @@ with errorData being of following format:</p>
|
|
|
67
69
|
<ul>
|
|
68
70
|
<li class="current"><a href="../modules.html">jsf.js_<wbr/>next_<wbr/>gen</a>
|
|
69
71
|
<ul>
|
|
70
|
-
<li class="current tsd-kind-namespace"><a href="../modules/
|
|
72
|
+
<li class="current tsd-kind-namespace"><a href="../modules/faces.html">faces</a>
|
|
71
73
|
<ul>
|
|
72
|
-
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/
|
|
73
|
-
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/
|
|
74
|
-
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/
|
|
74
|
+
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.ajax.html">ajax</a></li>
|
|
75
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.push.html">push</a></li>
|
|
76
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.util.html">util</a></li></ul></li>
|
|
75
77
|
<li class="tsd-kind-namespace"><a href="../modules/myfaces.html">myfaces</a></li></ul></li></ul></div></details></nav>
|
|
76
78
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
77
79
|
<ul>
|
|
78
|
-
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
79
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
80
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
81
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
80
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.addOnError.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>add<wbr/>On<wbr/>Error</a></li>
|
|
81
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.addOnEvent.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>add<wbr/>On<wbr/>Event</a></li>
|
|
82
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.request.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>request</a></li>
|
|
83
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.response.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>response</a></li></ul></nav></div></div>
|
|
82
84
|
<div class="container tsd-generator">
|
|
83
85
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
84
86
|
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>addOnEvent | jsf.js_next_gen</title><meta name="description" content="Documentation for jsf.js_next_gen"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
-
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
5
7
|
<ul class="results">
|
|
6
8
|
<li class="state loading">Preparing search index...</li>
|
|
7
9
|
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jsf.js_next_gen</a></div>
|
|
8
|
-
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
10
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
11
|
<div class="container container-main">
|
|
10
12
|
<div class="col-8 col-content">
|
|
11
13
|
<div class="tsd-page-title">
|
|
12
14
|
<ul class="tsd-breadcrumb">
|
|
13
15
|
<li><a href="../modules.html">jsf.js_next_gen</a></li>
|
|
14
|
-
<li><a href="../modules/
|
|
15
|
-
<li><a href="../modules/
|
|
16
|
-
<li><a href="
|
|
16
|
+
<li><a href="../modules/faces.html">faces</a></li>
|
|
17
|
+
<li><a href="../modules/faces.ajax.html">ajax</a></li>
|
|
18
|
+
<li><a href="faces.ajax.addOnEvent.html">addOnEvent</a></li></ul>
|
|
17
19
|
<h1>Function addOnEvent</h1></div>
|
|
18
20
|
<section class="tsd-panel">
|
|
19
21
|
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
@@ -57,18 +59,18 @@ of following format: <i>function eventListener(<eventData>)</i></p>
|
|
|
57
59
|
<ul>
|
|
58
60
|
<li class="current"><a href="../modules.html">jsf.js_<wbr/>next_<wbr/>gen</a>
|
|
59
61
|
<ul>
|
|
60
|
-
<li class="current tsd-kind-namespace"><a href="../modules/
|
|
62
|
+
<li class="current tsd-kind-namespace"><a href="../modules/faces.html">faces</a>
|
|
61
63
|
<ul>
|
|
62
|
-
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/
|
|
63
|
-
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/
|
|
64
|
-
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/
|
|
64
|
+
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.ajax.html">ajax</a></li>
|
|
65
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.push.html">push</a></li>
|
|
66
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.util.html">util</a></li></ul></li>
|
|
65
67
|
<li class="tsd-kind-namespace"><a href="../modules/myfaces.html">myfaces</a></li></ul></li></ul></div></details></nav>
|
|
66
68
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
67
69
|
<ul>
|
|
68
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
69
|
-
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
70
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
71
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
70
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.addOnError.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>add<wbr/>On<wbr/>Error</a></li>
|
|
71
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.addOnEvent.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>add<wbr/>On<wbr/>Event</a></li>
|
|
72
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.request.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>request</a></li>
|
|
73
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.response.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>response</a></li></ul></nav></div></div>
|
|
72
74
|
<div class="container tsd-generator">
|
|
73
75
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
74
76
|
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>request | jsf.js_next_gen</title><meta name="description" content="Documentation for jsf.js_next_gen"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
-
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
5
7
|
<ul class="results">
|
|
6
8
|
<li class="state loading">Preparing search index...</li>
|
|
7
9
|
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jsf.js_next_gen</a></div>
|
|
8
|
-
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
10
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
11
|
<div class="container container-main">
|
|
10
12
|
<div class="col-8 col-content">
|
|
11
13
|
<div class="tsd-page-title">
|
|
12
14
|
<ul class="tsd-breadcrumb">
|
|
13
15
|
<li><a href="../modules.html">jsf.js_next_gen</a></li>
|
|
14
|
-
<li><a href="../modules/
|
|
15
|
-
<li><a href="../modules/
|
|
16
|
-
<li><a href="
|
|
16
|
+
<li><a href="../modules/faces.html">faces</a></li>
|
|
17
|
+
<li><a href="../modules/faces.ajax.html">ajax</a></li>
|
|
18
|
+
<li><a href="faces.ajax.request.html">request</a></li></ul>
|
|
17
19
|
<h1>Function request</h1></div>
|
|
18
20
|
<section class="tsd-panel">
|
|
19
21
|
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
@@ -57,18 +59,18 @@
|
|
|
57
59
|
<ul>
|
|
58
60
|
<li class="current"><a href="../modules.html">jsf.js_<wbr/>next_<wbr/>gen</a>
|
|
59
61
|
<ul>
|
|
60
|
-
<li class="current tsd-kind-namespace"><a href="../modules/
|
|
62
|
+
<li class="current tsd-kind-namespace"><a href="../modules/faces.html">faces</a>
|
|
61
63
|
<ul>
|
|
62
|
-
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/
|
|
63
|
-
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/
|
|
64
|
-
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/
|
|
64
|
+
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.ajax.html">ajax</a></li>
|
|
65
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.push.html">push</a></li>
|
|
66
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.util.html">util</a></li></ul></li>
|
|
65
67
|
<li class="tsd-kind-namespace"><a href="../modules/myfaces.html">myfaces</a></li></ul></li></ul></div></details></nav>
|
|
66
68
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
67
69
|
<ul>
|
|
68
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
69
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
70
|
-
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
71
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="
|
|
70
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.addOnError.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>add<wbr/>On<wbr/>Error</a></li>
|
|
71
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.addOnEvent.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>add<wbr/>On<wbr/>Event</a></li>
|
|
72
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.request.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>request</a></li>
|
|
73
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="faces.ajax.response.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>response</a></li></ul></nav></div></div>
|
|
72
74
|
<div class="container tsd-generator">
|
|
73
75
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
74
76
|
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|