Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web-ui
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WEBGDE-Components
web-ui
Commits
72b8e641
Commit
72b8e641
authored
Sep 12, 2023
by
Leonard Ambros II
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-WG-387' to 'development'
parents
9bc578fc
2df749bb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
8 deletions
+30
-8
org.eclipse.wst.common.project.facet.core.xml
...e/.settings/org.eclipse.wst.common.project.facet.core.xml
+2
-1
xxsubmit.js
WebGde/WebContent/WebGde-Widgets/DataInputWidget/xxsubmit.js
+0
-0
config.js
WebGde/WebContent/WebGde-Widgets/config.js
+1
-1
NKTI_Schema.json
.../WebContent/WebGde-Widgets/sample_schema/NKTI_Schema.json
+2
-2
script.js
WebGde/WebContent/script.js
+25
-4
No files found.
WebGde/.settings/org.eclipse.wst.common.project.facet.core.xml
View file @
72b8e641
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime
name=
"Payara Server 5 (5.2022.5)"
/>
<runtime
name=
"Payara Server 5 (5.2022.2)"
/>
<secondary-runtime
name=
"Payara Server 5 (5.2022.5)"
/>
<fixed
facet=
"jst.web"
/>
<fixed
facet=
"java"
/>
<fixed
facet=
"wst.jsdt.web"
/>
...
...
WebGde/WebContent/WebGde-Widgets/DataInputWidget/submit.js
→
WebGde/WebContent/WebGde-Widgets/DataInputWidget/
xx
submit.js
View file @
72b8e641
File moved
WebGde/WebContent/WebGde-Widgets/config.js
View file @
72b8e641
...
...
@@ -8,7 +8,7 @@ export const HIGH_LIGHT_SCHEMA = "./WebGde-Widgets/sample_schema/dbSchema_anno.
export
const
ROOT_FOLDER
=
"/WebGde-Widgets"
;
//this determines if the images will be retrieved from the gfs
const
IP
=
"54.
86.68.94
"
const
IP
=
"54.
211.251.251
"
const
GDE_CONTEXTROOT
=
"WebGde-v121-b1"
export
const
DOMAIN
=
`http://
${
IP
}
:8080`
export
const
CONTEXTROOT
=
"gfs-explorer-ws"
...
...
WebGde/WebContent/WebGde-Widgets/sample_schema/NKTI_Schema.json
View file @
72b8e641
...
...
@@ -35,8 +35,8 @@
"aka"
:
"field5"
,
"validation"
:
{
"fieldLength"
:
1.0
,
"collection"
:
"
radiolist
"
,
"
item
s"
:
[
"M"
,
"F"
],
"collection"
:
"
dropdown
"
,
"
option
s"
:
[
"M"
,
"F"
],
"mandatory"
:
true
}
},
...
...
WebGde/WebContent/script.js
View file @
72b8e641
...
...
@@ -443,10 +443,22 @@ async function createImageViewer() {
// if(!successfully modified){
// createInfoModal(null, "OK", "Current record was not successfully changed");
// } else{
saveForm
(
sessionStorage
.
getItem
(
"display_counter"
));
console
.
log
(
"Display Counter "
+
parseInt
(
sessionStorage
.
getItem
(
"display_counter"
))
+
" saved"
);
await
submitForm
(
e
);
displayPreviousRecord
(
e
);
let
isSuccessful
=
await
submitForm
(
e
);
if
(
isSuccessful
){
displayPreviousRecord
(
e
);
}
else
{
document
.
getElementById
(
"previousRecordImage"
).
style
.
visibility
=
"visible"
;
}
// await submitForm(e);
// }
}
else
{
displayPreviousRecord
(
e
);
...
...
@@ -490,8 +502,17 @@ async function createImageViewer() {
// } else{
saveForm
(
sessionStorage
.
getItem
(
"display_counter"
));
console
.
log
(
"Display Counter "
+
parseInt
(
sessionStorage
.
getItem
(
"display_counter"
))
+
" saved"
);
await
submitForm
(
e
);
displayNextRecord
(
e
);
let
isSuccessful
=
await
submitForm
(
e
);
if
(
isSuccessful
){
createInfoModal
(
null
,
"OK"
,
"Record has been saved"
);
displayNextRecord
(
e
);
}
else
{
document
.
getElementById
(
"nextRecordImage"
).
style
.
visibility
=
"visible"
;
}
//await submitForm(e);
// }
}
else
{
displayNextRecord
(
e
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment